Skip to content

⭐ Token & Ethereum smart contracts for LocalCoinSwap blockchain layer

Notifications You must be signed in to change notification settings

LocalCoinSwap/ethereum-token-contracts

Repository files navigation

LocalCoinSwap non-custodial smart contracts for Ethereum & Tokens.

Installation and tests

We use the HardHat tool for local smart contract development, due to the versatile manner in which it can handle smart contracts built with different versions of Solidity.

After pulling from remote and cd'ing to directory:

yarn install
npx hardhat test

Deployment

Set private key PRIV infura API WEB3_APIand variables in an .env file, then:

npx hardhat --network mainnet deploy --write true

Verification:

Set Etherscan key variable ETHERSCAN_API_KEY in .env and run:

npx hardhat verify --network mainnet <DEPLOYED_CONTRACT_ADDRESS> <OWNER_ADDRESS>

About

⭐ Token & Ethereum smart contracts for LocalCoinSwap blockchain layer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published