Skip to content

Smart contracts that provide some of the basic functions of the Cyberway blockchain

License

Notifications You must be signed in to change notification settings

cyberway/cyberway.contracts

 
 

Repository files navigation


buildkite GitHub

CyberWay Contracts

Version : 2.0.1

The design of the CyberWay blockchain calls for a number of smart contracts that are run at a privileged permission level in order to support functions such as validator registration and voting, token staking for CPU and network bandwidth, RAM purchasing, multi-sig, etc.

This repository contains contracts that are useful when deploying, managing, and/or using CyberWay blockchain. They are provided for reference purposes:

Dependencies:

To build the contracts and the unit tests:

  • First, ensure that your cyberway is compiled to the core symbol for the CyberWay blockchain that intend to deploy to.
  • Second, make sure that you have sudo make installed cyberway.
  • Then just run the build.sh in the top directory to build all the contracts and the unit tests for these contracts.

After build:

  • The unit tests executable is placed in the build/tests and is named unit_test.
  • The contracts are built into a bin/<contract name> folder in their respective directories.
  • Finally, simply use cleos to set contract by pointing to the previously mentioned directory.

System Contracts Description

About

Smart contracts that provide some of the basic functions of the Cyberway blockchain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • WebAssembly 77.2%
  • C++ 21.3%
  • Other 1.5%