Skip to main content

Deployment

Contract addresses and deployment information.

Base Mainnet

Coming Soon

Mainnet deployment pending audit completion.

ContractAddressVerified
SongNFTTBD-
SongVaultTBD-
RevenueHookTBD-

Base Sepolia (Testnet)

ContractAddressVerified
SongNFT0x...Yes
SongVault0x...Yes
RevenueHook0x...Yes

Deployment Scripts

Using Foundry

# Deploy all contracts
forge script script/Deploy.s.sol:DeployScript \
--rpc-url $BASE_RPC_URL \
--broadcast \
--verify

# Verify contracts
forge verify-contract \
--chain base \
$CONTRACT_ADDRESS \
src/SongNFT.sol:SongNFT

Using Hardhat

# Deploy
npx hardhat run scripts/deploy.ts --network base

# Verify
npx hardhat verify --network base $CONTRACT_ADDRESS

Environment Variables

# .env
BASE_RPC_URL=https://mainnet.base.org
PRIVATE_KEY=your_private_key
BASESCAN_API_KEY=your_api_key
PLATFORM_SIGNER=0x...

Post-Deployment

After deployment:

  1. Verify all contracts on Basescan
  2. Update frontend with new addresses
  3. Configure platform signer
  4. Test minting flow
  5. Initialize hook with PoolManager