Cosmos SDK module for GnoVM, a virtual machine for the Gno programming language.
Cosmos SDK module scaffolded with Ignite, a developer-friendly framework for building Cosmos SDK applications.
Warning
This module is still in its alpha phase. Expect bugs and breaking changes. Please report any issues you encounter. Additionally, we currently rely on a small fork of the GnoVM containing only this PR: gnolang/gno#4852: https://github.com/allinbits/gno/tree/denom-fix.
To install the GnoVM module in your Cosmos SDK application, please follow the instructions below:
ignite s chain github.com/ignite/gnovm --minimal --no-module
ignite app install github.com/ignite/apps/gnovm@main
ignite gnovm add
ignite chain serveThe Ignite GnoVM App simplifies the wiring of GnoVM into your Cosmos SDK application.
gnovmd tx gnovm add-package ./tests/contracts/counter --from alicegnovmd tx gnovm call gno.land/r/demo/counter Increment --from alicegnovmd tx gnovm run ./tests/contracts/counter --from aliceYou can either query the Render function on the realm via cli:
gnovmd q gnovm eval gno.land/r/demo/counter 'Render("")'Or directly access its RPC endpoint on your node: http://localhost:1317/ignite/gnovm/gnovm/v1/render/gno.land/r/demo/counter
This repo has been scaffolded with Ignite.