Giter Site home page Giter Site logo

robert-gabriel / aion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aionnetwork/aion

0.0 0.0 0.0 49.58 MB

aion network

Home Page: https://aion.network/

License: GNU General Public License v3.0

Shell 0.12% Java 91.84% Makefile 0.01% C 5.04% C++ 2.98%

aion's Introduction

Aion

Mainstream adoption of blockchains has been limited because of scalability, privacy, and interoperability challenges. Aion is a multi-tier blockchain network designed to address these challenges.

Core to our hypothesis is the idea that many blockchains will be created to solve unique business challenges within unique industries. As such, the Aion network is designed to support custom blockchain architectures while providing a trustless mechanism for cross-chain interoperability.

The Aion White Papers provides more details regarding our design and project roadmap.

This repository contains the main kernel implementation and releases for the Aion network.

System Requirements

  • Ubuntu 16.04 or a later version

Build the Aion network

Please see the details in this wiki page Build your Aion network.

Aion Installation

  1. Download the latest Aion kernel release from the releases page.

  2. Unarchive the downloaded file by right clicking on it and selecting Extract Here from the drop-down menu. The aion folder will be generated in the current folder.

Alternatively, to extract the file contents, run in a terminal:

tar xvjf aion-{@version}.tar.bz2
  1. Navigate to the aion folder and continue by configuring the network:
cd aion

Aion Network Configuration

To receive tokens for mining blocks, you first need to create an account using:

./aion.sh -a create

The mining wiki illustrates how to set this account to be able to receive tokens for mining.

Now you are ready to start the kernel.

Optional:

Your kernel will have access to the seed nodes by default. Do not remove these nodes from the configuration. To include additional peers (e.g. friends that are also connected to the network) or get added by peers, update the config.xml by adding nodes using the permanent peer id (generated as shown below), IP and port of the computers you wish to connect to:

<net>
    <p2p>
        <ip>0.0.0.0</ip>
        <port>30303</port>
    </p2p>
    <nodes>
        <node>p2p://PEER_ID@IP:PORT</node>
    </nodes>
</net>

Note: To allow peers to connect to you, you must also change your configuration IP from 127.0.0.1 to a public IP on your machine. If you are unsure about having a public IP, set it to 0.0.0.0.

To get a permanent peer id create a new configuration:

./aion.sh -c

This newly made configuration will not have access to seed nodes by default. In order to connect to seed nodes, you will need to edit the config.xml file by adding nodes as listed from here:

<nodes>
  <node>p2p://[email protected]:30303</node>
  <node>p2p://[email protected]:30303</node>
  <node>p2p://[email protected]:30303</node>
  <node>p2p://[email protected]:30303</node>
  <node>p2p://[email protected]:30303</node>
</nodes>

You are welcome to add other seed nodes (not solely restricted to what is shown above).

Launch Kernel

In a terminal, from the aion directory, run:

./aion.sh

When the kernel starts up, you should see it trying to sync with the latest block.

Optional: To check which peers you are connected to, open another terminal and run the command below:

netstat -antp | grep java

Please check the owner's manual wiki for further instructions on working with the kernel.

Documentation

Please check the wiki pages for further documentation on mining, using the Web3 API, command line options, etc.

Contact

Aion Forum

Aion Gitter

Aion Reddit

License

Aion is released under the LGPL-V3 license

aion's People

Contributors

aion-6368726973 avatar aionjayt avatar aion-jin avatar alexandraroatis avatar qoire avatar aion-anakha avatar iamyulong avatar apalissery avatar ali-sharif avatar aion-ross avatar synapsics-sergiu avatar jayt106 avatar yao-sun 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.