0.0.2-alpha • Published 4 years ago
distributed-town-smart-contracts v0.0.2-alpha
DistributedTown SmartContracts
Install
yarn install
Local deployment
Make sure defaultNetwork in hardhat.config.js (on line 24) is set to localhost.
Terminal 1#:
yarn chain
Terminal #2:
Change the value of the
skillWalletAddressvariable inscripts/deployDistributedTown.jsRun
yarn deployCommunityRegistry
Matic testnet deployment
Run: yarn generate and yarn account to generate and verify account first.
Make sure defaultNetwork in hardhat.config.js (on line 24) is set to maticTestnet.
Terminal #1:
- Change the value of the
skillWalletAddressvariable inscripts/deployCommunityRegistry.js(line 9) Run
yarn deployCommunityRegistryChange the value of the
communityRegistryAddressvariable inscripts/dcreateCommunity.js(line 7)Run
yarn createCommunityRun
yarn deployGigsRegistry