Qudusayo / swisstronik-dev-challenge-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Deplyoing the contract

npx hardhat run scripts/deploy.js --network <network name>

Where <network name> can can be mumbai or swisstronik

Testing the contract

npx hardhat test

Reading private varibale

node functions/Interact.js

Contract deployed to Mumbai: 0x71223138B0FD2848c2657b293892157D0B1EE627
Contract deployed to Swisstronik : 0x59E431B64EC822b20DeD579788ec9c0464822729

About


Languages

Language:JavaScript 84.9%Language:Solidity 15.1%