Skip to content

xcshuan/simple-udt

Repository files navigation

simple-udt

The following must be installed and available to use Capsule.

  • cargo and rust - Capsule uses cargo to generate Rust contracts and run tests. https://www.rust-lang.org/tools/install.
  • docker - Capsule uses docker container to reproducible build contracts. It's also used by cross. https://docs.docker.com/get-docker/
  • cross. Capsule uses cross to build rust contracts. Install with
    $ cargo install cross --git https://github.com/cross-rs/cross
    

Note: All commands must be accessible in the PATH in order for them to be used by Capsule.

Note: The current user must have permission to manage Docker instances. How to manage Docker as a non-root user.

Install capsule

Install the latest version capsule

cargo install ckb-capsule

Contracts test

Build contracts:

capsule build

Run tests:

capsule test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages