{"id":29029354,"url":"https://github.com/aionnetwork/aionr","last_synced_at":"2026-03-02T07:32:10.281Z","repository":{"id":35399276,"uuid":"164652291","full_name":"aionnetwork/aionr","owner":"aionnetwork","description":"Aion Network - Rust Implementation","archived":false,"fork":false,"pushed_at":"2023-04-03T19:39:26.000Z","size":16248,"stargazers_count":33,"open_issues_count":23,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-26T08:06:51.523Z","etag":null,"topics":["aion","p2p","rust"],"latest_commit_sha":null,"homepage":"https://theoan.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aionnetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2019-01-08T13:14:04.000Z","updated_at":"2024-07-02T02:38:56.000Z","dependencies_parsed_at":"2022-08-24T13:30:36.979Z","dependency_job_id":null,"html_url":"https://github.com/aionnetwork/aionr","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/aionnetwork/aionr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Faionr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Faionr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Faionr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Faionr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aionnetwork","download_url":"https://codeload.github.com/aionnetwork/aionr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Faionr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29995004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aion","p2p","rust"],"created_at":"2025-06-26T08:06:50.108Z","updated_at":"2026-03-02T07:32:10.267Z","avatar_url":"https://github.com/aionnetwork.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AionR\n\n[![Join the chat at https://gitter.im/aionnetwork](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aionnetwork)\n[![license](https://img.shields.io/github/license/aionnetwork/aion.svg)](https://github.com/aionnetwork/aionr/blob/dev/LICENSE)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/aionnetwork/aion/issues)\n\n\n\u003cimg src=\"aion-rust-logo.png\" alt=\"drawing\" width=\"500\"/\u003e\n\nThis repository contains the rust kernel implementation and releases for the Aion Network. This is different from the [Java kernel implementation](https://github.com/aionnetwork/aion).\n\nMainstream adoption of blockchains is limited because of scalability, privacy, and interoperability challenges. Aion is a multi-tier blockchain network designed to address these challenges.\n\nThe [Aion White Papers](https://aion.network/developers/#whitepapers) provides more details on our design and project roadmap.\n\n## Install the Kernel\n\nFollow this guide to install the Aion Rust kernel on your system.\n\n### System Requirements\n\n- Ubuntu 16.04 or Ubuntu 18.04\n- 4GB RAM\n- 2 core CPU\n- 60GB Hard Drive Space (Current Mainnet DB about 40GB)\n\n### Prerequisites Installation\n\n1. Update your system and install the build dependencies:\n\n    ```bash\n    sudo apt-get update\n    sudo apt install g++ gcc libjsoncpp-dev python-dev libudev-dev llvm-4.0-dev cmake wget curl git pkg-config lsb-release -y\n    ```\n\n2. Install Rust `v1.28.0`:\n\n    ```bash\n    curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.28.0 --default-host x86_64-unknown-linux-gnu\n    ```\n\n    Select option `1` when prompted.\n\n3. Initialize the Rust install and check that it is working:\n\n    ```bash\n    source $HOME/.cargo/env\n    cargo --version\n\n    \u003e cargo 1.28.0 (96a2c7d16 2018-07-13)\n    ```\n\n4. Install Boost `v1.65.1` \n\n    - Ubuntu `16.04`:\n    \n        ```bash\n        wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.bz2\n        tar xf boost_1_65_1.tar.bz2\n        cd boost_1_65_1\n        ./bootstrap.sh --libdir=/usr/lib/x86_64-linux-gnu/\n        ./b2\n        ./b2 install\n        ```\n\n    - Ubuntu `18.04`:\n\n        ```bash\n        sudo apt-get install libboost-filesystem1.65-dev libboost-program-options1.65-dev libboost-regex1.65-dev  -y\n        ```\n\n5. Install JAVA JDK:\n    * [JDK 11](https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz) or higher.\n\n6. Install Apache Ant 10:\n    * [Apache Ant 10](https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz)\n\n7. Set Environment Variables:\n    ```bash\n    export JAVA_HOME=\u003cjdk_directory_location\u003e\n    export ANT_HOME=\u003capache_ant_directory\u003e\t\n    export LIBRARY_PATH=$JAVA_HOME/lib/server\n    export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin\n    export LD_LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib\n    ```\n### Build the Kernel\n\nOnce you have installed the prerequisites, follow these steps to build the kernel.\n\n1. Download the Aion Rust git repository:\n\n    ```bash\n    git clone https://github.com/aionnetwork/aionr.git\n    cd aionr\n    ```\n\n2. Build the kernel from source:\n\n    ```bash\n    ./resources/package.sh aionr-package\n    ```\n\n    `aionr-package` is the name that will be given to the Rust package when it as finished building. You can set this to anything you want by changing the last argument in the script call:\n\n    ```bash\n    ./resources/package.sh [example-package-name]\n    ```\n\n    The package takes about 10 minutes to finish building.\n\n3. When the build has finished, you can find the finished binary at `package/aionr-package`.\n\n## Launch Aion Rust Kernel\n\n1. Navigate to the binary location:\n\n    ```bash\n    cd package/aionr-package\n    ```\n\n2. Make sure your `JAVA_HOME` is right. :new:\n\n3. Run the `aion` package. Make sure to include any commands you want the kernel to execute. You can find more information on supplying commands in the [user manual](https://github.com/aionnetwork/aionr/wiki/User-Manual#launch-rust-kernel).\nKernel will print **configuration path**, **genesis file path**, **db directory** and **keystore location** at the top of its log.\n\n**We provides quick launch scripts to connect to Mainnet, Mastery and custom network. Running the quick scripts will load the configuration and the genesis in each network folder. You can modify those files in each directory. See launch examples [Kernel Deployment Examples](https://github.com/aionnetwork/aionr/wiki/Kernel-Deployment-Examples)**\n\n```bash\n$ ./mainnet.sh\n\n\u003e   ____                 _   _ \n\u003e  / __ \\       /\\      | \\ | |\n\u003e | |  | |     /  \\     |  \\| |\n\u003e | |  | |    / /\\ \\    | . ` |\n\u003e | |__| |   / ____ \\   | |\\  |\n\u003e  \\____/   /_/    \\_\\  |_| \\_|\n\u003e\n\u003e\n\u003e 2019-11-06 13:54:03        build: Aion(R)/v1.0.0.706f7dc/x86_64-linux-gnu/rustc-1.28.0\n\u003e 2019-11-06 13:54:03  config path: kernel_package_path/mainnet/mainnet.toml\n\u003e 2019-11-06 13:54:03 genesis path: kernel_package_path/mainnet/mainnet.json\n\u003e 2019-11-06 13:54:03    keys path: /home/username/.aion/keys/mainnet\n\u003e 2019-11-06 13:54:03      db path: /home/username/.aion/chains/mainnet/db/a98e36807c1b0211\n\u003e 2019-11-06 13:54:03      binding: 0.0.0.0:30303\n\u003e 2019-11-06 13:54:03      network: Mainnet\n\u003e 2019-11-06 13:54:10      genesis: 30793b4ea012c6d3a58c85c5b049962669369807a98e36807c1b02116417f823\n\n```\n\n### Connecting to JSON RPC Services\n\nRPC services can be connected from the following addresses:\n\n- **HTTP**: Port `8545`\n- **WebSocket**: Port `8546`\n- **IPC**: `$Home/.aion/jsonrpc.ipc`\n\nSee the [user manual](https://github.com/aionnetwork/aionr/wiki/User-Manual) or [CMD \u0026 Config](https://github.com/aionnetwork/aionr/wiki/CMD-\u0026-Config) wiki to find how to change RPC port settings.\n\n### Miners\n\nIf you're interested in mining on the Aion networks, refer to our [Aion Mining Docs](https://docs.aion.network/docs/aion-mining-overview)\n\n### Users\n\nIf you're interested in interacting with blockchain applications and _using_ `AION` coins, refer to our [Aion Desktop Wallet Docs](https://docs.aion.network/docs/aion-desktop-wallet).\n\n## Contact\n\nTo keep up to date by joining the following channels:\n\n- [Aion Forum](https://forum.aion.network/)  \n- [Aion Gitter](https://gitter.im/aionnetwork)  \n- [Aion Reddit](https://www.reddit.com/r/AionNetwork/)  \n- [Aion Medium](https://blog.aion.network/)\n\nFor more information about Aion Community please refer to [Aion Community](https://aion.network/community/)\n\n## License\n\nAion is released under the [GPL-V3 license](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionnetwork%2Faionr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faionnetwork%2Faionr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionnetwork%2Faionr/lists"}