基于区块链的毕业设计Pooling contract – 联营合同

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Pooling contract – 联营合同 是一篇很好的国外资料

Pooling contract

This repo is a self-contained solution for creating a pooling contract to receive vesting

Installation and Usage

This project uses Hardhat for EVM development. The blockchain folder contains the hardhat project and the ui folder contains the front-end that interacts with the contracts deployed on the blockchain

Testing the smart contracts:

cd blockchain yarn yarn test

To deploy the contract to testnet or mainnet, you need to create an .env file in the blockchain directory with your mneumonic and infura api key:

Example:

SECRET="test test test test test test test test test test test test" INFURA_API_KEY=0d80b74d9665207f9106520d806520

For the UI, it’s created with CRA (Create React App), you need to specify 4 environment variables during build for this to run:

REACT_APP_POOLING_CONTRACT_ADDRESS=0x000000000 REACT_APP_TOKEN_CONTRACT_ADDRESS=0x000000000000 REACT_APP_REQUIRED_CHAIN_ID=0x1 REACT_APP_EXPLORER_URL="https://etherscan.com" 

This should show up when the UI is configured correctly:

Pooling contract - 联营合同

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT


池合同

此回购是一个独立的解决方案,用于创建共享合同以获得归属权

安装和使用

此项目使用Hardhat进行EVM开发。区块链blockchain文件夹包含hardhat项目,ui文件夹包含与区块链blockchain上部署的合约交互的前端,测试智能合约:

将合约部署到testnet或mainnet,您需要使用mneumonic和infura api密钥在区块链blockchain目录中创建一个.env文件:

cd blockchain yarn yarn test

示例:

对于UI,它是用CRA(create React App)创建的,您需要在生成过程中指定4个环境变量,以便运行:

SECRET="test test test test test test test test test test test test" INFURA_API_KEY=0d80b74d9665207f9106520d806520

当UI配置正确时,应该会显示:

REACT_APP_POOLING_CONTRACT_ADDRESS=0x000000000 REACT_APP_TOKEN_CONTRACT_ADDRESS=0x000000000000 REACT_APP_REQUIRED_CHAIN_ID=0x1 REACT_APP_EXPLORER_URL="https://etherscan.com" 

Pooling contract - 联营合同

欢迎拉取请求。对于重大更改,请先打开一个问题来讨论您想要更改的内容

贡献

许可证

贡献

请确保根据需要更新测试

MIT

许可证

MIT

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22647.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Pooling contract – 联营合同

提供最优质的资源集合

立即查看 了解详情