Deployment
Contract addresses and deployment information.
Base Mainnet
Coming Soon
Mainnet deployment pending audit completion.
| Contract | Address | Verified |
|---|---|---|
| SongNFT | TBD | - |
| SongVault | TBD | - |
| RevenueHook | TBD | - |
Base Sepolia (Testnet)
Chain ID: 84532
| Contract | Address | Verified |
|---|---|---|
| SongNFT | 0x4b86a687bBbf7348911cc88195e89AdA54cF5Ba7 | ✅ |
| SongVault | 0xdcfDc1cd433Cdc0Da24Ce1b979cdeb2563598566 | ✅ |
| SongRevenueHook | 0xd18424e29c61fc1adeb0538c135d61f3fa524050 | ✅ |
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:
- Verify all contracts on Basescan
- Update frontend with new addresses
- Configure platform signer
- Test minting flow
- Initialize hook with PoolManager