Coder Social home page Coder Social logo

testnet's Introduction

æternity

This is the code used for the testnet for the æternity project.

This testnet uses simple PoW consensus. Its purpose is to show how state-channels work.

Compiling and Runing

You will need Erlang and a couple of libraries. Please follow instructions: For Ubuntu

Then, start your node with following script:

sh start.sh

Commands

Sync with the network

To sync with the network and download the blockchain:

easy:sync()

Mining

After fresh install, one can start mining.

To start mining with all CPU cores:

mine:start().

To stop mining:

mine:stop().

to check if you are currently mining:

mine:is_on().

Spend

easy:spend(To, Amount) 

To is the recipient's account ID

Last transactions

tx_pool:data().

Find out your account ID

keys:id().

If it returns something less than 1, that means you don't have an account yet.

Create an account

(does get done automatically when no accocunt and mining starts) Make an account

Check your balance

easy:balance().

Stop a node

To stop a node run:

easy:off().

Else

If you want to know more, check out our whitepaper on aeternity.com and get in touch with us via Gitter Chat or write us (emails in whitepaper).

testnet's People

Contributors

keypair avatar zack-bitcoin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.