Open the IDE
Navigate to Ralph Studio → IDE in the dashboard sidebar. You will see a split editor, Ralph source on the left, compiler output and deployment panel on the right.Write your contract
Paste or write your Ralph contract in the editor. Here is a minimal example to deploy:Compile
Click Compile in the IDE toolbar. The compiler output panel shows:- Bytecode: the compiled contract ready for deployment
- ABI: the function signatures and field types
- Warnings: unused variables, missing annotations, and other non-fatal issues
- Errors: problems that must be fixed before deployment
Set initial fields
Before deploying you set the initial values for all contract fields. The IDE shows a form generated from the ABI:
Immutable fields cannot be changed after deployment. Double-check them before signing.
Connect your wallet
Click Connect Wallet and approve the connection in your Alephium extension wallet. The IDE supports:- Alephium Extension Wallet (Chrome/Firefox)
Deploy
Click Deploy. The IDE builds a deployment transaction and sends it to your connected wallet for signing. After signing:- The transaction is broadcast to the network
- The IDE polls for confirmatior, typically 16–32 seconds
- Once confirmed the contract address appears in the deployment panel
Verify deployment
Confirm the contract is live by querying its state:Deploying to testnet
Switch the network selector in the IDE from Mainnet to Testnet before deploying. Testnet ALPH is free, use the faucet in your Alephium wallet to get test funds. Always deploy and test on testnet before mainnet. Contract addresses differ between networks.Next steps
Interacting with contracts
Call functions on your deployed contract
Contract events
Query events emitted by your contract

