一步步学Truffle+Solidity

作者: _Danniel_ | 来源:发表于2018-06-30 23:20 被阅读41次

自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

    自201708学习以太坊以来,跌跌碰碰,积累了好些不错的资源,在此分享。 tips:全是一点点摸索到的宝贵资源,血...

  • 如何确定自己当下需要学什么知识?

    如何确定自己当下需要学什么知识?按照以下步骤一步步去实践

  • 游戏原画学习步骤,零基础一步步学原画!

    游戏原画学习步骤,零基础一步步学原画!那么学游戏原画应该怎么学呢?下面咱们针对游戏原画学习做一次详细的步骤说明! ...

  • 学动漫绘画详细步骤,一步步学动漫绘画实用方法攻略!

    学动漫绘画详细步骤,一步步学动漫绘画实用方法攻略!既然是零基础学动漫绘画,那么自然得先从基础开始学习,步子大了容易...

  • 随记

    我们拥有青春口无遮拦的张扬,成长要让我们一步步走向成人世界的束缚与规范,一步步纯粹走向圆滑,学会顾及别人的感受,学...

  • 动漫绘画学习基础入门教程,动漫绘画一步步学!那么

    动漫绘画学习基础入门教程,动漫绘画一步步学!那么学动漫绘画应该怎么学呢?下面咱们针对动漫绘画学习做一次详细的步骤说...

  • 从抄袭到原创

    每个学诗的,都是从抄袭模仿中一步步来的,我分享一些我自己验证过的东西。 01 抄袭,抄最好的 我等学渣抄作业(学霸...

  • 谁可以借我10万?

    自从辞职之后,我就断了收入来源,以为自己的计划可以一步步实现,没想到,正在一步步的坍塌。 为了学室内设计,花费了2...

  • 场景原画基础入门教程:一步步画场景

    场景原画基础入门教程:一步步画场景,游戏场景原画概念设计教程,一步步学场景原画!嗨,我是马可。下面介绍的是我用Ph...

  • 疲惫

    请允许我暂时回避 许多事情我真的无能为力 正步一步步教,一步步学 路却怎么也走不直 剩下的只有 愤怒的呐喊 直白的...

网友评论

    本文标题:一步步学Truffle+Solidity

    本文链接:https://www.haomeiwen.com/subject/kubxuftx.html