Solidity notes

1. 查询transaction历史记录

https://forum.ethereum.org/discussion/2116/in-what-ways-can-storage-history-be-accessed

2. solidity开发测试建议流程

Before putting your contract on the Blockchain, I recommend you to test your contract with TestRPCto simulate on your computer a blockchain.

When learning solidity, you should use Browser Solidity to test your contracts.

And there are also Truffle and embark which are environments to help you developp more easily your smart contracts and interact with them through the Web3.js API.

3. address.send()已经被弃用,用address.transfer()转账

https://vomtom.at/solidity-send-vs-transfer/

4. 批量转代币

https://github.com/primasio/ether-batch-transfer

5. safeMath库,保障安全的数字运算

https://github.com/OpenZeppelin/zeppelin-solidity/tree/master/contracts/math

6. X Things I Wish I Knew Before Building My First Ethereum Dapp

https://aakilfernandes.github.io/x-things-i-wish-i-knew-before-building-my-first-ethereum-dapp

7. Solidity代码评审/防攻击

https://medium.com/@merunasgrincalaitis/how-to-audit-a-smart-contract-most-dangerous-attacks-in-solidity-ae402a7e7868

8. solidity 时间转换

https://www.epochconverter.com/

http://tool.chinaz.com/Tools/unixtime.aspx

9. solidity在线学习 https://coursetro.com

10. https://www.stateofthedapps.com dapp导航

11. https://github.com/jasonwalsh/awesome-dapps dapp相关介绍

12. https://github.com/ethereum/wiki/wiki/Decentralized-apps-(dapps) 官方dapp wiki

原文地址:https://www.cnblogs.com/huahuayu/p/8586432.html