Skip to main content

Smart Contract Creator

The Smart Contract Creator (sidebar Build, entry SC Creator) turns a plain-language description into contract source for a blockchain you choose, using QCAIA, QoreChain's AI assistant. It is for builders who want a first draft of a token, NFT collection, vault or multisig, or a contract in a language they do not write daily, and who then review, test and deploy it themselves.

Always review and test

Generated code is a strong starting point, not a substitute for review. Read the contract, test it on testnet, and run it through the Contract Auditor before deploying anything of value.

Innovations​

  • One generation without an account. A first-time visitor can generate once and sees the full contract. It is limited per visitor and by a global daily cap. A free-try result has no Deploy and no working Edit; the page offers Create a free account afterwards.
  • A free generation every UTC day when signed in. The first generation of each UTC day is free on both networks. After that, on testnet each generation is paid in test QOR from your test wallet after a "Confirm Contract Generation" dialog that shows the "Generation Cost". On mainnet the Dashboard holds no keys, so further generations are refused until the next UTC day.
  • Starters that fill everything. Token, NFT collection, Locked vault and 2-of-3 multisig each fill a complete prompt, set the target to QoreChain and pick a template. The "PQC Token" and "PQC NFT" templates describe contracts for accounts that sign with ML-DSA-87.
  • 17 target blockchains, each with its own templates plus "Custom (describe in prompt)": QoreChain, Cosmos, Ethereum, Solana, Avalanche, NEAR, Polygon, BSC, TON, Cardano, Polkadot, Tezos, Arbitrum, Optimism, Sui, Aptos and Tron.
  • Non-custodial deploy on mainnet EVM. The Dashboard compiles the contract and returns unsigned deployment data. Any injected EVM wallet (MetaMask, Rabby, Coinbase Wallet) adds or switches to chain 9801, then signs and broadcasts; the Dashboard records the address afterwards.
  • Approved QoreChain Native contracts on testnet. During the testnet fest, contract uploads are reviewed through governance, so the generated code is not uploaded. You instantiate an approved contract, with the list read live from the chain: CW20 token (cw20-base), NFT collection (cw721-base), Member group (cw4-group), Multisig (cw3-fixed-multisig) and Counter example (qore-counter). The instantiate message is prefilled and editable.
  • Compile feedback in the dialog. Errors show inline, the dialog asks for constructor arguments it cannot infer, and token fields are pre-read from the code or the prompt.
  • Private by default, forkable when public. The owner toggles Public or Private; a non-owner of a public contract can Fork it.

How to use​

Generate a contract​

  1. Open SC Creator. The page title reads "What would you like to build?".
  2. Start from an example, or describe your own. Under "Or start from an example:" pick a starter, or write your own in Contract Description. The more specific you are, the better the result.
  3. Choose the Target Blockchain. The language and category show under it ("Language: ... | Category: ..."). Changing the chain automatically picks that chain's first template, so choose Custom (describe in prompt) in Contract Type yourself if you want your description alone to drive the result.
  4. Signed in only: choose a Generation Tier (Standard or Premium). Premium is not available on mainnet.
  5. Select Generate Smart Contract. Signed in, a "Confirm Contract Generation" dialog follows (it shows the "Generation Cost" and the free-today status). The result is labelled "Generated by QCAIA Standard".

Review the result​

The contract shows in a syntax-highlighted view with these actions:

  • Deploy,
  • Edit Now,
  • Download File (in the right format for the chosen chain),
  • Copy Code.

Details and the prompt you used are on the contract's own page (below), not on the result.

The contract page​

Each saved contract has a page at /smart-contract-creator/<id> with Copy, Public / Private, Download, Edit or Fork, a stats row (Created, Lines, Size, Gen Time, Tokens, AI Model), the "Generation Prompt" and "Download from Cloud" (the link expires after 24 hours). Opening a contract page needs sign-in, even for a public contract.

The Edit page offers Save Changes (owner) or Save as New Contract (when forking), plus Deploy. An Export PDF action exists in the contract list on your Profile, not on the result.

Deploy your contract​

Deploy lives on the result and edit pages. The dialog shows a banner "Target: TESTNET ... 9800" or "Target: MAINNET ... 9801".

On mainnet (EVM), non-custodial​

The Dashboard never holds your keys and never signs for you.

  1. Select Deploy on a contract whose target runs on the QoreChain EVM, with the header on Mainnet. If this is your first mainnet view of Wallet, Trade or the Explorer overview in this browser, you accept the one-time acknowledgement there; the Creator itself shows no extra risk screen.
  2. Select Deploy from your wallet. Any injected EVM wallet works; the dialog itself adds or switches the network (chain 9801).
  3. Since chain v3.2.0 the EVM lane also needs the deploying account to hold a registered ML-DSA-87 key and an open EVM authorisation window, opened from QoreX (see Sending with MetaMask). Without them the chain refuses the deployment.
  4. The Dashboard compiles and hands the unsigned transaction to your wallet. Wait for "Confirm in your wallet..." and review network, gas and data.
  5. Once it confirms, the Dashboard records the contract address with your saved contracts.

Other targets on mainnet show "Direct deploy not available for this contract". QoreChain Native and SVM deploys are not offered on mainnet, and there is no CosmWasm publishing from the Dashboard.

On testnet, one click​

  • EVM: select Deploy to Testnet. The Dashboard's test wallet signs and submits the deployment; success shows "Deployed on Testnet". Iterate with Faucet tokens before going to mainnet.

  • QoreChain Native: during the testnet fest, contract uploads are reviewed through governance, so instead of uploading your generated code you instantiate an approved contract. In the dialog:

    1. Pick an Approved contract. The list is read live from the chain and currently offers CW20 token (cw20-base), NFT collection (cw721-base), Member group (cw4-group), Multisig (cw3-fixed-multisig) and Counter example (qore-counter).
    2. Check the Instantiate message (JSON). It is prefilled from your token fields and editable; an approved code the Dashboard does not recognise appears with an empty message.
    3. Set the Label *, then select Instantiate on Testnet. It is signed with your testnet wallet, and the result shows the contract address and the transaction.

    Custom contracts go to the QoreChain EVM (Solidity).

  • Only EVM contracts and approved QoreChain Native codes can be deployed from the Dashboard. A contract written for another EVM chain (Polygon, BSC, Arbitrum and so on) deploys to the QoreChain EVM, not to that chain's own network; contracts for non-EVM chains cannot be deployed from here.

Minimal example (testnet): select Token, Generate Smart Contract, Confirm, Deploy, pick "CW20 token (cw20-base)", Label my-token, Instantiate on Testnet.

Share and reuse​

Contracts are private by default. As the owner, set a contract to Public so other signed-in users can open and fork it, and back to Private to withdraw it. Fork copies a public contract into your account to continue from there.

How to access​

  • URL: dashboard.qorechain.io/smart-contract-creator (also Create Smart Contract on the home page).
  • Account: the landing page and one free generation work without an account. Everything else (further generations, saved contracts, the contract and edit pages, deploy) needs sign-in; see Sign in.
  • Network: generation works on both. Testnet deploys use your Dashboard test wallet; mainnet EVM deploys use your own wallet.
  • Costs: the first generation each UTC day is free. After that, testnet generations are paid in test QOR; mainnet generations wait for the next UTC day. Deploys pay network gas.

Where it is published​

SurfaceAddressNetworks
Creator and saved contractsdashboard.qorechain.io/smart-contract-creatorGeneration on both networks
EVM deployResult and edit pagesTestnet one-click; mainnet from your own wallet
QoreChain Native deployResult and edit pagesTestnet, approved codes only

Limits and known issues​

  • Not offered: Solana deploys (the server refuses them), Native or SVM deploys on mainnet, deploys to other chains' public networks, and Premium on mainnet.
  • Testnet Native deploys instantiate only governance-approved codes; your generated source is not uploaded.
  • Free-try results have no Deploy and no Edit.
  • Review everything before deploying; generated code can contain mistakes.