简体   繁体   中英

Generated code hash at ink smart contract deployment

After placing an ink! smart contract on canvas-node using https://paritytech.github.io/canvas-ui , what does the created code hash represent and what is it used for?

This is used to identify the WASM stored on chain, and as hashmap to retrieve it from storage. Commonly this is used to instantiate a new instance of the contract: https://paritytech.github.io/ink-docs/getting-started/deploy-your-contract

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM