{"id":20185139,"url":"https://github.com/aeternity/elixir-node","last_synced_at":"2025-08-21T04:30:40.656Z","repository":{"id":80979254,"uuid":"102751238","full_name":"aeternity/elixir-node","owner":"aeternity","description":"Elixir full node implementation of the aeternity specification","archived":false,"fork":false,"pushed_at":"2018-12-12T08:59:27.000Z","size":5095,"stargazers_count":213,"open_issues_count":48,"forks_count":38,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-08T03:37:11.421Z","etag":null,"topics":["aeternity","blockchain","crypto","elixir","full-node","ng","oracles","scaling","state-channels"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeternity.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-07T15:04:18.000Z","updated_at":"2024-10-31T16:59:28.000Z","dependencies_parsed_at":"2023-02-27T07:00:54.327Z","dependency_job_id":null,"html_url":"https://github.com/aeternity/elixir-node","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/aeternity/elixir-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeternity%2Felixir-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeternity%2Felixir-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeternity%2Felixir-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeternity%2Felixir-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeternity","download_url":"https://codeload.github.com/aeternity/elixir-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeternity%2Felixir-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271424948,"owners_count":24757371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"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":["aeternity","blockchain","crypto","elixir","full-node","ng","oracles","scaling","state-channels"],"created_at":"2024-11-14T03:11:39.338Z","updated_at":"2025-08-21T04:30:40.233Z","avatar_url":"https://github.com/aeternity.png","language":"Elixir","readme":"[![Travis Build](https://travis-ci.org/aeternity/elixir-node.svg?branch=master)](https://travis-ci.org/aeternity/elixir-node)\n\n# CURRENTLY *NOT COMPATIBLE* TO THE AETERNITY NETWORK \nThis implementation aims to be a aims to be a full node that complies with the aeternity specification, in the current state this is not ready yet and should never be used to join the aeternity network.\n\n# Aeternity Elixir Full Node\nThis is an elixir full node implementation of the aeternity specification.\n\nCompatibility to the erlang aeternity implementation is documented in [docs/aeternity-erlang-compatibility.md](docs/aeternity-erlang-compatibility.md).\n\n## Getting started\n\n### Required packages\n[Elixir 1.6](https://elixir-lang.org/install.html) with Erlang/OTP20 is the basis of the project\n\n[Rust](https://www.rust-lang.org/install.html) is needed for persistent storage dependency\n\nlibsodium 1.0.16 is needed for elliptic curve support\n```bash\nsudo apt-get install autoconf autogen libtool libgmp3-dev lsof\nwget -O libsodium-src.tar.gz https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz\nmkdir libsodium-src \u0026\u0026 tar -zxf libsodium-src.tar.gz -C libsodium-src --strip-components=1\ncd libsodium-src \u0026\u0026 ./configure \u0026\u0026 make \u0026\u0026 make check \u0026\u0026 sudo make install \u0026\u0026 cd ..\n```\n\n#### Fetching dependencies\n`mix deps.get`\n\n#### Starting the application\nStart the application in interactive Elixir\n- Development config: `make iex-0`\n- Production config: `MIX_ENV=prod make iex-0`\n\nThe default sync port is 3015, this can be adjusted using `SYNC_PORT=some_port iex -S mix phx.server`.\nThe node will run an http api at `localhost:4000`, this can be adjusted using `PORT=some_port iex -S mix phx.server`.\n\n## Usage\n\n### Elixir interactive api-calls\n- `Miner.resume()` to start the miner\n- `Miner.suspend() ` to stop the miner\n- `Miner.mine_sync_block_to_chain()` mine the next block\n\n\n- `Chain.top_block()` to get the top block of the current chain\n- `Chain.top_block_chain_state()` to get the top block chainstate\n- `Chain.chain_state(block_hash)` to get the chainstate of certain block\n\n\n- `Pool.get_pool()` to get all transactions from the pool\n\n\n- `Peers.all_peers()` to get all connected peers\n- `Peers.try_connect(%{host: host, port: port, pubkey: pubkey})` to manually connect a new peer\n- `Peers.get_info_try_connect(uri)` to connect to another elixir node, providing a get connection info interface\n\n### Running the tests\nRun the testsuite with `mix test`\n\n### Logging\nDebug, error, warning and info logs is found in `apps/aecore/logs`\n\n### Docker Container\nA `Dockerfile` and `docker-compose.yml` are found in the base directory, prebuilt images are not yet published.\n\n - Build container `docker build . -t elixir-node`\n - Run node in container `docker run --name elixir-node -it -p 4000:4000 -p 3015:3015 elixir-node`\n\n - Run multiple nodes network with docker compose `docker-compose up` runs 3 connected nodes, with 2 mining\n\n## Detailed Usage\n\n[docs/detailed-usage.md](docs/detailed-usage.md)\n\n## Developer Documentation\n\n[docs/developer-docs.md](docs/developer-docs.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeternity%2Felixir-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeternity%2Felixir-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeternity%2Felixir-node/lists"}