Skip to content

This suite of system contracts provides core functionality for the Koinos blockchain including consensus algorithms and tokenomics.

License

Notifications You must be signed in to change notification settings

koinos/koinos-contracts-cpp

Repository files navigation

Koinos System Smart Contracts

Building

To build Koinos system contracts, you must first build and install the CDT.

Set the following env vars as was needed to build the CDT.

KOINOS_SDK_ROOT and KOINOS_WASI_SDK_ROOT.

Then run the following commands to do an out of source cmake build.

mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=${KOINOS_SDK_ROOT}/cmake/koinos-wasm-toolchain.cmake -DCMAKE_BUILD_TYPE=Release ..
make -j

.wasm binaries are in your build directory and are ready to be uploaded to Koinos.

About

This suite of system contracts provides core functionality for the Koinos blockchain including consensus algorithms and tokenomics.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •