contracts:为 nori.com 提供动力的以太坊智能合约-源码

上传者: 42099814 | 上传时间: 2021-08-04 14:05:51 | 文件大小: 141KB | 文件类型: ZIP
关于 支持 nori.com 的以太坊智能合约 地方发展 部署到本地测试网 首先,启动 ganache-cli 二、通过迁移脚本部署和初始化所有合约 truffle migrate --network test 测试 首先,启动 ganache-cli 清除和编译合同 rm -rf build && truffle compile 然后运行测试 yarn test 合同 可升级性 此 repo 中的合约使用来管理可升级性 NCCR 铸币者角色 需要铸币工角色来向 NCCR 合同添加额外的铸币工。 此角色允许供应商铸造 NCCR(AKA NRT)。 公共测试网 罗普斯滕 部署 通过松露迁移文件部署和初始化所有合约 truffle migrate --network ropsten 杂项注意事项和提示 使用 oz CLI 工具 部署新的可升级合约 要通过oz CLI 工具单独部署

文件下载

资源详情

[{"title":"( 24 个子文件 141KB ) contracts:为 nori.com 提供动力的以太坊智能合约-源码","children":[{"title":"contracts-master","children":[{"title":".gitignore <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"truffle-config.js <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 804B </span>","children":null,"spread":false},{"title":".soliumrc.json <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":".soliumignore <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"2_deploy_ncrc.js <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"1_initial_migration.js <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"3_deploy_nori.js <span style='color:#111;'> 729B </span>","children":null,"spread":false}],"spread":true},{"title":"contracts","children":[{"title":"Migrations.sol <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"Nori_V0.sol <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"NCCR_V0.sol <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":true},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":true},{"title":".openzeppelin","children":[{"title":"kovan.json <span style='color:#111;'> 19.52KB </span>","children":null,"spread":false},{"title":"mainnet.json <span style='color:#111;'> 19.21KB </span>","children":null,"spread":false},{"title":"ropsten.json <span style='color:#111;'> 19.54KB </span>","children":null,"spread":false},{"title":"project.json <span style='color:#111;'> 531B </span>","children":null,"spread":false}],"spread":true},{"title":".gitattributes <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"helpers","children":[{"title":"interfaces.js <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"NCCR.test.js <span style='color:#111;'> 13.43KB </span>","children":null,"spread":false},{"title":"Nori.test.js <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"yarn.lock <span style='color:#111;'> 311.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明