EOSIO / eosio.system

Reference system contract for an EOSIO based chain
MIT License
9 stars 6 forks source link

eosio.system

Version : 2.0.0-rc1

The design of the EOSIO blockchain calls for a number of smart contracts that are run at a privileged permission level in order to support functions such as block producer registration and voting, token staking for CPU and network bandwidth, RAM purchasing, multi-sig, etc. These smart contracts are referred to as the bios, boot, system, msig, wrap (formerly known as sudo) and token contracts.

This repository contains examples of these privileged contracts that are useful when deploying, managing, and/or using an EOSIO blockchain. They are provided for reference purposes:

Dependencies:

Build

To build the contracts follow the instructions in Build and deploy section.

NOTE This contract pulls down and builds the eosio.token contract as certain token actions are a requirement for some of the systems.

Build with setkvparams

mkdir build && cd build
# enablke setkvparams
cmake -DBUILD_TESTS=true -DSETKVPARAMS=1 ..
make -j4

Contributing

Contributing Guide

Code of Conduct

License

MIT

The included icons are provided under the same terms as the software and accompanying documentation, the MIT License. We welcome contributions from the artistically-inclined members of the community, and if you do send us alternative icons, then you are providing them under those same terms.

Important

See LICENSE for copyright and license terms.

All repositories and other materials are provided subject to the terms of this IMPORTANT notice and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources, and forward-looking statements. By accessing any of our repositories and other materials, you accept and agree to the terms of the notice.