0.0.2-alpha • Published 3 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
skillWalletAddress
variable inscripts/deployDistributedTown.js
Run
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
skillWalletAddress
variable inscripts/deployCommunityRegistry.js
(line 9) Run
yarn deployCommunityRegistry
Change the value of the
communityRegistryAddress
variable inscripts/dcreateCommunity.js
(line 7)Run
yarn createCommunity
Run
yarn deployGigsRegistry