Skip to content

julienbrg/arthera-hardhat-template

Repository files navigation

Arthera Hardhat Template

Motivation

Facilitate the prototyping of decentralized apps to deploy to Arthera Testnet.

Install

npm i

Test

npx hardhat test

Deploy

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

Contract verification

  • 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.

Versions

Support

You can contact me via Element, Telegram, Twitter, Discord, or LinkedIn.

About

An example Hardhat project that supports Arthera Testnet

Topics

Resources

Stars

Watchers

Forks