rustup install 1.81
rustup default 1.81
rustup target add wasm32-unknown-unknown
cargo build --release
Once the compilation is complete, locate the *.opt.wasm
file in the target/wasm32-unknown-unknown/release
directory.
- To interact with the Gear IDEA and deploy your contract, you will need to download a wallet extension such as Polkadot-JS, Talisman, or Subwallet to interact with Substrate-based chains.
- Access Gear IDE using your web browser.
- Connect your Substrate wallet to Gear IDE.
- Upload the
*.opt.wasm
andmetadata.txt
files by clicking the "Upload Program" button.
Standards: Standards