Skip to main content

How to register a smart contract

Use the Orchestrate Gateway API to register smart contracts. Orchestrate supports registration of different versions of the same smart contract. Registering smart contracts is needed for the following purposes:


Check the REST API Reference or the JS SDK Reference for a detailed description of all endpoints.

Register a smart contract

Register a smart contract using the Orchestrate Gateway API by sending a POST request to the /contracts endpoint.

"abi": {...},
"bytecode": "0x6080604052348015600f57600080f...",
"deployedBytecode": "0x6080604052348015600f57600080f...",
"name": "ERC20",
"tag": "v1.0.0"
  • name - Name of the contract.
  • tag - Version of the contract. Specifying a version already registered will overwrite it.
  • abi - JSON ABI of the contract.
  • bytecode - Bytecode of the contract.
  • deployedBytecode - Deployed bytecode of the contract.

We recommend using the Truffle Suite to develop smart contracts using Solidity.