✨Configuração
Rust & Cargo
Ink! CLI
$ cargo contract
Utilities to develop Wasm smart contracts
Usage: cargo contract <COMMAND>
Commands:
new Setup and create a new smart contract project
build Compiles the contract, generates metadata, bundles both together in a `<name>.contract` file
check Check that the code builds as Wasm; does not output any `<name>.contract` artifact to the `target/` directory
test Test the smart contract off-chain
upload Upload contract code
instantiate Instantiate a contract
call Call a contract
decode Decodes a contracts input or output data (supplied in hex-encoding)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help information
-V, --version Print version informationInstalação
Instalação substrate-contracts-node
substrate-contracts-node(Exemplo: 1) Baixe o Binário
(Exemplo: 2) Compilar por conta própria
Last updated