wasmos

module
v0.0.0-...-a351142 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0

README

Wasmos

Wasmos is a Smart contract system based on WebAssembly running on Cosmos Network with the following key features:

  • Allows development of smart contracts using Rust, Go or AssembyScript
  • Improved developer toolchain with focus on enhanced integration testing
    • Out-of-box Integration Test are provided (CosmWasm only provides unit tests)
  • Automated binding process between Cosmos modules and smart contacts
  • Ability to call any entry-point function in Smart Contracts with improved code readability and organization
    • CosmWasm has a single execute() entry point with function execution derived from message in the argument.
    • Wasmos allow to call any function directly
  • Improved sub-messaging invocation with ability to call Cosmos Chain functions directly
  • Provides access to IBC, Cosmos Staking and Cosmos key-value storage (get and set data on-chain)

Development

See Hello World smart contract example.

Take a look at test file x/wasm/keeper/wasmos_test.go

go test -v -run '^TestWasmos' ./x/wasm/keeper

Directories

Path Synopsis
app
params
Package params defines the simulation parameters in the gaia.
Package params defines the simulation parameters in the gaia.
cmd
x
wasm
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Cosmwasm/wasmd/x/wasm/types ALIASGEN: github.com/ConsiderItDone/wasmos/x/wasm/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Cosmwasm/wasmd/x/wasm/types ALIASGEN: github.com/ConsiderItDone/wasmos/x/wasm/keeper
wasm/client/rest
Deprecated: the rest package will be removed.
Deprecated: the rest package will be removed.
wasm/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL