Facilitate the prototyping of decentralized apps to deploy to Arthera Testnet.
npm i
npx hardhat test
Create a .env
file:
cp .env.example .env
Add your own private key in the .env
file, then:
npx hardhat run scripts/deploy.js --network arthera-testnet
You can use the increment.js
script to increment the value of x
:
npx hardhat run scripts/increment.js --network arthera-testnet
- Go to the Arthera Testnet explorer, which is a fork of Blockscout
- Paste you contract address
- Click on the 'contract' tab
- Click on the 'Verify and publish' button (top-right)
- Fill out the form and paste your Solidity code
- Click on 'Verify'
Note: the Incrementor contract is already verified so you shouldn't need to do that if you keep it unchanged.
You can contact me via Element, Telegram, Twitter, Discord, or LinkedIn.