0.2.3 • Published 8 months ago

@water-cooler-studios/ike-contracts v0.2.3

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Ike Contracts

Installing Environment Pre-reqs

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

cargo install --force --locked cargo-contract

rustup toolchain install stable-2023-12-28
rustup component add rust-src --toolchain stable-2023-12-28

Building

After installing the pre-reqs above (especially the required stable toolchain), contracts must be compiled. This is done with the build-all.sh script which can be run simply via the following command. All contract artifacts will be saved in the deployments directory.

pnpm run build

Testing (Integration Tests)

The integration tests are located in contract_tests and can be run simply via the following command.

pnpm test

Deploying

Contract deployment is configured with the following environment variables.

  • ACCOUNT_URI - deployer account
  • VALIDATOR_ADDRESSES - comma separated list of validators used for nomination
pnpm run deploy
0.2.1

8 months ago

0.2.3

8 months ago

0.2.2

8 months ago

0.2.0

9 months ago

0.1.0

10 months ago

0.0.1

11 months ago