Solidity notes

本文档提供了以太坊DApp开发的实用资源汇总,包括查询交易历史、使用TestRPC进行智能合约测试、了解SafeMath库的重要性、批量转移代币的方法及Solidity代码审查技巧等关键信息。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值