Smart Contracts
https://api.cerulea.app/v1
Deploy smart contracts from Cerulea's managed template library or upload your own compiled bytecode. All deployments are recorded on-chain and tracked in your dashboard.
POST
/contracts/deploy
Deploy a smart contract from a managed template
JSON
{
"blockchainId": "bc_01HXYZ",
"template": "erc20-token",
"params": {
"name": "Acme Token",
"symbol": "ACM",
"totalSupply": 1000000,
"decimals": 18
}
}Contract Templates
| Template | Description |
|---|---|
| Standard fungible token (ERC-20) | |
| Non-fungible token (ERC-721) | |
| Multi-token standard (ERC-1155) | |
| DAO with on-chain voting | |
| Token staking with reward distribution | |
| NFT marketplace with royalties |