Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 750 Bytes

README.md

File metadata and controls

51 lines (32 loc) · 750 Bytes

NounsMap contract

This repository for nounsmap contents exchange management contracts. Nounsmap web app : https://github.com/SingularitySociety/nounsmap-web

Setup your wallet

setup .env for rinkeby

Web3 Provider

Get Api key from Web3 Provider and set API KEY

ALCHEMY_API_KEY = "xxxx"

Your Account

Set your account

MNEMONIC = "hoge hoge hoge"
ACCOUNT_INITIAL_INDEX = 2

or

PRIVATE_KEY= "hogehoge"

deploy to rinkeby

npx hardhat --network rinkeby run scripts/deploy-rinkeby.ts 

deploy to local

npx hardhat --network localhost run scripts/deploy.ts 

Etherscan verification

npx hardhat verify --network mainnet --constructor-args arguments.js CONTRACT_ADDRESS