Crates.io | nym-mixnet-contract |
lib.rs | nym-mixnet-contract |
version | 1.4.0 |
source | src |
created_at | 2023-02-22 16:43:17.958814 |
updated_at | 2023-04-25 07:58:12.2304 |
description | Nym mixnet contract |
homepage | |
repository | https://github.com/nymtech/nym |
max_upload_size | |
id | 791961 |
size | 852,859 |
This is the cosmwasm smart contract which runs the Nym mixnet.
RUSTFLAGS='-C link-arg=-s' cargo wasm
Install wasm-opt:
npm i wasm-opt -g
Run make mixnet-opt
from the top level Nym directory
We have template configurations for both GitHub Actions and Circle CI in the generated project, so you can get up and running with CI right away.
One note is that the CI runs all cargo
commands
with --locked
to ensure it uses the exact same versions as you have locally. This also means
you must have an up-to-date Cargo.lock
file, which is not auto-generated.
The first time you set up the project (or after adding any dep), you should ensure the
Cargo.lock
file is updated, so the CI will test properly. This can be done simply by
running cargo check
or cargo unit-test
.
Once you have your custom repo, you should check out Developing to explain more on how to run tests and develop code. Or go through the online tutorial to get a better feel of how to develop.
Publishing contains useful information on how to publish your contract to the world, once you are ready to deploy it on a running blockchain. And Importing contains information about pulling in other contracts or crates that have been published.
Please replace this README file with information about your specific project. You can keep
the Developing.md
and Publishing.md
files as useful referenced, but please set some
proper description in the README.