Skip to content

Validity predicate and transactions for a variable supply multitoken account

Notifications You must be signed in to change notification settings

anoma/anoma-wasm-multitoken

Repository files navigation

anoma-wasm-multitoken

⚠️ This repo is work in progress, experimental and shouldn't be relied upon!

Validity predicate and transactions for a variable supply multitoken account. This example is geared around how the validity predicate for the Ethereum bridge will work.

Tests

Unit and integration

cargo test

End-to-end

End-to-end tests are binaries under crates/e2e_tests/src/bin. It should be possible to run them against any Anoma chain.

Running locally using Docker Compose

To run them against a preconfigured network:

make docker  # should be run any time test runners or wasms change
docker compose up

The ledger container runs indefinitely.

The testrunner container will run all tests in series. It will exit if a test fails (exits with status code 2) or errors (exits with status code 1), or once all tests have successfully passed (exited with status code 0).

There is an adhoc container that can be SSH'ed into if you want to run test binaries or interact with the ledger manually.

docker compose exec -it adhoc /bin/bash

The test network can be reset with docker compose down.

About

Validity predicate and transactions for a variable supply multitoken account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published