GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - injective-dev/hardhat-inj: Injective EVM Demo Hardhat Project

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
contracts
contracts
 
 
script
script
 
 
test
test
 
 
.example.env
.example.env
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
hardhat.config.js
hardhat.config.js
 
 
package.json
package.json
 
 

Repository files navigation

Injective EVM Demo Hardhat Project

A demonstration project which show how to compile, test, deploy, verify, and interact with EVM smart contracts on Injective Testnet.

Tutorial

This is a demo repo intended to accompany the following series of tutorials:

  • Setup Hardhat and compile a smart contract
  • Test a smart contract using Hardhat
  • Deploy a smart contract using Hardhat
  • Verify a smart contract using Hardhat
  • Interact with a smart contract using Hardhat

How to use this repo

# install dependencies
npm install

# compile smart contracts
npx hardhat compile

# test smart contracts
npx hardhat test # test on emulated localhost EVM
npx hardhat test --network inj_testnet # test on Injective Testnet (not recommended in most cases)

# deploy smart contracts
npx hardhat run script/deploy.js --network inj_testnet
# copy deployed address from output as use subsequently as SC_ADDRESS

# interact with smart contracts via an interactive Javascript REPL
npx hardhat console --network inj_testnet

# verify smart contracts on Blockscout
npx hardhat verify --network inj_testnet ${SC_ADDRESS}

Author

Brendan Graetz

Licence

MIT

About

Injective EVM Demo Hardhat Project

docs.injective.network/developers-evm/smart-contracts/

Topics

evmhardhatinjectivetutorial

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.