Smart Contract in Tendermint

Hi guys,

is it possible to create smart contracts using tendermint? can this be done using the LotionJS framework or another?

Thank you !

Yes, there’s lots of smart contract solutions built on Tendermint. See this article for a summary: Virtual Machines Take Off in the Cosmos | by Interchain | Medium

If you want to use the Cosmos-SDK, there are already three options:

  • Ethermint - supports the EVM (solidity) from the Cosmos-SDK
  • Agoric - uses Agoric’s secure subset of Javascript for smart contracts
  • CosmWasm - uses WASM as a virtual machine in the Cosmos-SDK

So basically that allows you to use any of Solidity (EVM), Javascript (Agoric), and Rust (for WASM) as smart contract languages.

I’m not sure if there is support for any smart contracting languages from LotionJS yet. But it might also be the case that you can just write the application you need in JS using LotionJS, and avoid a virtual machine/smart contracts all together!

There’s also Kadenamint, which supports Kadena’s Pact smart contract language on Tendermint, though this system is in Haskell and doesn’t use any standard framework like the Cosmos-SDK.

2 Likes

Many thanks for the reply!

If you know, which of these solutions is in a stable state? that is, has it already been implemented and tested?

thanks again.

All three of Agoric, CosmWasm, and Ethermint are in quite advanced states, under active maintenance and testing.

1 Like

@ebuchman For someone just getting started with Smart Contracts, a clean slate… But with a Javascript/NodeJS background. Which platform would you recommend?

I mean, are there any limitations in Smart Contract capabilities with any of them? In use-cases? With interoperability?

I’d like to go with Agoric because I already know Javascript, but I’m willing to learn Rust if that’s going to be better in the long run and allow more capabilities.

The time I invest in learning a new skill, I want it to be in demand and be of service to a wide spectrum of IBC applications.

Thanks!!!