一步步学Truffle+Solidity

自201708学习以太坊以来,跌跌碰碰,积累了好些不错的资源,在此分享。

tips:全是一点点摸索到的宝贵资源,血与泪,且看且珍惜啊.....


Truffle最佳实战:

手把手官方文档:

http://truffleframework.com/docs/getting_started/installation

手把手入门案例:

http://8btc.com/article-2044-1.html

宠物店项目体会:MetaMask+testRpc

http://truffleframework.com/blog/learn-ethereum-the-fun-way-with-our-pet-shop-tutorial

http://truffleframework.com/tutorials/pet-shop#getting-the-adopted-pets-and-updating-the-ui

webpack构建Web应用模版

https://github.com/trufflesuite/truffle-init-webpack

truffle3-frontend-example完整项目案例

https://github.com/eBusinessMan/truffle3-frontend-example

truffle官方各种项目模版(Box)学习:

http://truffleframework.com/boxes/

OpenZeppelin集成Truffle编写健壮安全的合约

手把手教你发行ICO代币

http://truffleframework.com/tutorials/robust-smart-contracts-with-openzeppelin

http://me.tryblockchain.org/robust-smart-contracts-with-openzeppelin.html

https://github.com/OpenZeppelin/zeppelin-solidity

Zeppelin-Solidity 学习文档

http://zeppelin-solidity.readthedocs.io/en/latest/

发行固定价格和有限数量的代币 源码库 及教程

https://github.com/ConsenSys/simple-token-sale

Solidity最佳实践

      环境篇:

https://blog.zeppelin.solutions/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05

理解ABI

https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI

js与合约交互文档

https://github.com/ethereum/wiki/wiki/JavaScript-API

js部署合约和调用function

https://github.com/ethereum/wiki/wiki/JavaScript-API#contract-methods

https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI#example-javascript-usage

js过滤、监控合约中的event日志

https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI#example-javascript-usage

国外大牛经验-代码案例篇:

https://blog.zeppelin.solutions/onward-with-ethereum-smart-contract-security-97a827e47702

外部调用

https://solidity.readthedocs.io/en/latest/control-structures.html?highlight=extends#external-function-calls

web3.js学习交互

https://debris.gitbooks.io/ethchange/content/index.html

以太坊与智能合约之身份认证设计

http://baijiahao.baidu.com/s?id=1570669085179103&wfr=spider&for=pc#

以德交易所

https://etherdelta.com

基于ICAP协议的智能交易所smart-exchange

https://github.com/eBusinessMan/smart-exchange

https://debris.gitbooks.io/ethchange/content/index.html

Events 交互:检索、过滤

https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgettransactionreceipt

http://solidity.readthedocs.io/en/latest/contracts.html#events

https://github.com/ethereum/wiki/wiki/JavaScript-API#contract-events

开源工具hub集合

https://dapphub.com/

可视化testrpc

http://truffleframework.com/ganache/

架构设计和升级

https://ethereum.stackexchange.com/questions/2404/upgradeable-smart-contracts

https://stackoverflow.com/questions/36282737/how-to-update-dapp-contract

https://gist.github.com/Arachnid/4ca9da48d51e23e5cfe0f0e14dd6318f#file-upgradeable-sol-L6

https://github.com/u2/ether-router

安全工具

安全漏洞问题

智能合约最佳实战-ConsenSys出品

https://github.com/ConsenSys/smart-contract-best-practices

https://github.com/ConsenSys/smart-contract-best-practices/blob/master/README-zh.md

官方安全编码及潜在漏洞提示

http://solidity.readthedocs.io/en/latest/security-considerations.html

http://www.jinse.com/news/ethereum/45759.html

如何分析Ethereum代码以找到常见的漏洞

http://www.comp.nus.edu.sg/%7Eloiluu/papers/oyente.pdf

智能合约代码分析工具

https://github.com/melonproject/oyente

Solidity代码覆盖率测试 工具

https://github.com/eBusinessMan/solidity-coverage

编码小实战

有用的Dapp模式-代码片段:

https://github.com/ethereum/wiki/wiki/Useful-%C3%90app-Patterns

初始化web3的三种场景

https://gist.github.com/frozeman/fbc7465d0b0e6c1c4c23

代码部署合约的流行的方式

https://gist.github.com/frozeman/655a9325a93ac198416e

发送交易前先通过call来测试交易

https://gist.github.com/ethers/2d8dfaaf7f7a2a9e4eaa

经典Dapp模版框架:

meteor-dapp-boilerplate

https://github.com/SilentCicero/meteor-dapp-boilerplate

react-dapp-boilerplate

https://github.com/SilentCicero/react-dapp-boilerplate

ethereumjs-accounts:浏览器段通过js操纵帐号的小工具

https://github.com/SilentCicero/ethereumjs-accounts

智能合约部署工具,项目管理中用到!多环境部署一体化

https://github.com/SilentCicero/ethdeploy

智能合约部署、交互图

java版solidity编译器: 可以在运行时将合约字符编译部署

https://github.com/eBusinessMan/solcJ

solidity测试-代码覆盖率

https://github.com/eBusinessMan/solidity-coverage

持续集成:覆盖率maven插件

https://github.com/trautonen/coveralls-maven-plugin

你可能感兴趣的:(一步步学Truffle+Solidity)