Deploy Solidity Contracts
Deploy Solidity smart contracts on Solana with Hardhat or Foundry — Rome network configuration, funded accounts, and step-by-step deployment.
Prerequisites
export PRIVATE_KEY="0xYOUR_PRIVATE_KEY"Network Configuration
Network
RPC URL
Chain ID
Hardhat
Setup
mkdir my-rome-project && cd my-rome-project
npx hardhat --inithardhat.config.ts
Deploy
Verify on Block Explorer
Foundry
Setup
Deploy
Call Deployed Contract
Using the Rome Solidity SDK
Bring an existing protocol
Deployment Constraints
Constraint
Limit
Notes
Common Errors
Error
Cause
Fix
What's Next
Last updated
Was this helpful?