Create

Web app

  1. Click the "New" button.

  2. Fill out the form then click the "Create" button.

  3. The wallet extension you have connected will ask you to approve a transaction. Review and approve.

Notes when creating through unofficial UI

  • For production smart contracts, set the value of chain to 0. For testnet smart contracts, 1.

  • Caller must own an AZERO.ID and associate it with a record.

  • If a group_id is provided, the caller must be a member of that group.

  • A link to the smart contract's ABI (.json file) must be provided. Please add the link to the smart contract's metadata.json on a CDN.

  • If providing a link to the contract (.contract file), wasm (.wasm file) or audit (preferably .pdf), please add the link to it's location on a CDN.

  • There is a fee to create which is sent to the admin.

fn create(
    &mut self,
    smart_contract_address: AccountId,
    chain: u8,
    azero_id: String,
    abi_url: String,
    contract_url: Option<String>,
    wasm_url: Option<String>,
    audit_url: Option<String>,
    group_id: Option<u32>,
    project_name: Option<String>,
    project_website: Option<String>,
    github: Option<String>,
) -> Result<SmartContract> {

Last updated