![]() This meant that we had to reimplement the execution environment that runs the Wasm modules using a different Wasm engine. Most importantly, the Wasm engine they chose, Wasmer, is not suitable for running inside TEEs. Plus, you can’t upload contracts that contain floating point operations in their compiled binary.įurthermore, as our solution required the contract engine to run inside a secure enclave, we knew that we would have to make adjustments and modifications to their implementation. For example, you don’t have access to system libraries, networking or the OS. As an extension of this approach, even the contracts themselves will be written in Rust (at first), although the contract runtime does not come without limitations. This was great for Secret Network because Enigma’s former Discovery testnet used Rust compiled to Wasm. If you are not familiar with CosmWasm, you can learn more about their contributions to the Cosmos here:ĬosmWasm’s implementation of the contract engine (virtual machine) is written in the Rust programming language, under a layer of Go integrated with the Cosmos SDK. Because of this, we are contributing to upstream development and helping as much as possible. ![]() ![]() Building in tandem with CosmWasm, Enigma introduced the x/compute module for privacy-preserving “Secret Contracts,” written in the Rust programming language, based on CosmWasm, running across the network of validator nodes equipped with Trusted Execution Environments (TEEs).Īs a first step in becoming familiar with the Cosmwasm project, we launched our testnet in March with smart contracts running CosmWasm! We have a ton of respect for the CosmWasm team, and we understand collaboration is the best strategy for long-term development projects. Having participated in the Cosmos ecosystem for the better part of a year, we are thrilled to share this detailed post about our collaboration with the CosmWasm developers, who are building and testing a smart contract module, named x/wasm, for the Cosmos SDK. We could see this project was gaining traction, and we decided to base our solution on it and maintain compatibility with it as much as we can. As we initially explored the Cosmos ecosystem, we found a particularly exciting project, CosmWasm, which enables running Wasm modules as contracts on a Cosmos blockchain. The Cosmos SDK is a solid platform for building and customizing high-quality blockchains using Tendermint for consensus. We are deeply grateful to Ethan Frey and Simon Warta for all their cooperation and support! Thus far, it has been a great experience working together, and we will continue building momentum as we pursue our common goals in the Cosmos ecosystem and beyond!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |