In VSCode, open the terminal and enter the following command line to originate (deploy) the smart contract is:
completium-cli deploy ./contract/ideasbox.arl --named ideabox
The originate command triggers two operations:
- the contract compilation to Michelson with archetype compiler
- the Michelson contract origination with Tezos client
The contract may then be referred to as
ideabox in future interactions.
The address of the newly originated contract is visible with this command:
completium-cli show contract ideabox
A smart contract address starts with
KT1. In the situation above, the new contract's address is
You may got to Better call dev contract explorer to check it:
The new contract address needs to be set in the DApp's
src/settings.js file, like for example:
export const contractAddress = "KT1QNURPMuFJSmTLRttRutb4gfJ6NS4BfsM6"