区块链学习总结

remix:在线编译器

solidity:以太坊(Ethereum)智能合约编程语言 https://solidity.readthedocs.io/en/v0.4.25/ 

    view 修饰的函数 ,只能读取storage变量的值,不能写入。

    pure 修饰的函数 , 不能对storage变量进行读写。

infura:提供公开以太坊和测试节点,可以利用infura提供的api访问以太坊以及IPFS

ERC-721 token合约:本标准提出的用于智能合约内非同质代币(non-fungible tokens,以下简称 "NFTs"),操作标准API的实现方法。另外,本标准还提供了用于跟踪和所有权转移的基本功能。

ERC20 token合约:same

ERC165:同样是一个合约标准,这个标准要求合约提供其实现了哪些接口,这样再与合约进行交互的时候可以先调用此接口进行查询。

以太坊可视化私有链Ganache

truffle框架

truffle test aaa.sol aaa.js
truffle test aaa.js
truffle compile
truffle migrate

geth搭建私链 puppeth 生成 genesis

原文地址:https://www.cnblogs.com/stanljj/p/9830699.html