CosmWasm
How THORChain has configured the CosmWasm module
Last updated
How THORChain has configured the CosmWasm module
Last updated
CosmWasm is a smart contracting platform built for blockchains that uses the Cosmos SDK, Simply put, it's the Cosmos (Cosm) way of using WebAssembly (Wasm) hence the name.
is currently the most used programming language for CosmWasm, in the future, it is possible to have different programming languages like and Go.
There would be a module placed into TC called x/wasm
and self-executing .rs
contracts are placed in it. These "contracts" would be whitelisted in via developers because they would go in via the 2-weekly upgrade cycle. They would be rolled out on stagenet for testing first, then flagged on mainnet after sometime.
All native tokens on THORChain listed would be supported in the Wasm TokenFactory (a wrapper that can push them into the WASM layer).
Derived assets TOR
and L1 RUNE
will work easily. Notably, trade assets are missing because they are not assets, they are deposit slips.
You can find more information about CosmWasm in their official .