Skip to content

smilofoundation/autonity

 
 

Autonity

Join the chat at https://gitter.im/clearmatics/autonity Build Status Coverage Status

Autonity is a generalization of the Ethereum protocol based on a fork of go-ethereum.

More about the Autonity context at https://www.autonity.io

More detailed documentation coming soon at https://docs.autonity.io

Prerequisites

Working with the source

Before working with the source you will need to run

make embed-autonity-contract

This generates go source from the autonity contract.

Building Autonity Go Client (AGC)

make autonity

Build Autonity Go Client docker image

make build-docker-image

Open a javascript console to a node

The address must be a websocket enabled rpc address.

./nodeconsole/console ws://localhost:8546

The console is run with the --experimental-repl-await flag which means that you can use await from the console prompt.

E.G:

> await autonity.getMinimumGasPrice().call()
'5000'

License

The go-ethereum library (i.e. all code outside of the cmd directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

The go-ethereum binaries (i.e. all code inside of the cmd directory) is licensed under the GNU General Public License v3.0, also included in our repository in the COPYING file.

Packages

No packages published

Languages

  • Go 87.2%
  • C 4.7%
  • JavaScript 3.9%
  • Python 0.8%
  • Assembly 0.8%
  • C++ 0.8%
  • Other 1.8%