Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

177 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Stars

2 stars

Watchers

6 watching

Forks

Releases

Used by

Contributors

Languages