Files
gifted-contracts-v2/README.md
Zitao Xiong d2c659a583 feat: nft vault (#1)
* feat: add NFT Vault

* feat: add ts script to update config address

* feat: update readme

* add nodejs

* chore: remove unused files;

* deploy vault to dev

* deploy vault to staging

* deploy vault to prod
2024-08-24 13:19:22 +08:00

1.2 KiB

Gifted.art Contracts v2

env explanation

# env switching is using forge wallet to deploy contracts
use [dev|local|prod]

# create key file
cast wallet i dev --private-key 0x000 --keystore-dir keystores/keys

ETH_KEYSTORE and ETH_PASSWORD is set by each env/.env.[dev|local|prod] to pick up correct key file and password file.

Deploy

sepolia

forge script script/deploy.sepolia.s.sol -vvvv --rpc-url sepolia --broadcast --verify

Zora

zora is using routescan for contract verification. official blockscout using instruction here does not work yet.

forge script script/deploy.sepolia.s.sol -vvvv --rpc-url zora_sepolia --broadcast --verify --slow

Addresses

The contract addresses for different environments and networks are defined in the following JSON configuration files:

Please refer to these files for the most up-to-date contract addresses for each network.