Skip to content

julienbrg/arthera-hardhat-example-typescript

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.ts --network arthera-testnet

You can use the increment.ts 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 Julien via Element, Telegram, Twitter, Discord, or LinkedIn.

About

A Hardhat template for smart contract development on Arthera

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published