mirror of
https://github.com/placeholder-soft/gifted-contracts-v2.git
synced 2026-01-12 15:23:44 +08:00
main
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:
- Development:
config/dev_addresses.json - Staging:
config/staging_addresses.json - Production:
config/prod_addresses.json
Please refer to these files for the most up-to-date contract addresses for each network.
Description
Languages
TypeScript
94.5%
Shell
5.5%