{"id":19901891,"url":"https://github.com/hyperledger/besu-native","last_synced_at":"2025-05-02T23:32:03.371Z","repository":{"id":37072679,"uuid":"254209181","full_name":"hyperledger/besu-native","owner":"hyperledger","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-28T14:25:08.000Z","size":1758,"stargazers_count":14,"open_issues_count":7,"forks_count":38,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-28T14:49:49.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperledger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-08T21:55:06.000Z","updated_at":"2025-04-28T14:25:15.000Z","dependencies_parsed_at":"2024-02-15T17:37:58.449Z","dependency_job_id":"a1283cc9-1116-4e67-b09c-8e024be4e04a","html_url":"https://github.com/hyperledger/besu-native","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Fbesu-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Fbesu-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Fbesu-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Fbesu-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger","download_url":"https://codeload.github.com/hyperledger/besu-native/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252122288,"owners_count":21698305,"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","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":[],"created_at":"2024-11-12T20:16:32.130Z","updated_at":"2025-05-02T23:32:03.365Z","avatar_url":"https://github.com/hyperledger.png","language":"Java","readme":"# Besu Native\n\nThis repository contains scripts and tooling that is used to build and package the native libraries\nused by Hyperledger Besu.\n\nBesu Native libraries are licensed unde the [Apache 2.0 License](LICENSE).\n\n## Prerequisites\n\n### Linux\n\nYou'll need to be sure that gcc, make, autoconf, automake, and libtool are installed. If you are\nbuilding on Ubuntu or Debian, the following command will install these dependencies for you:\n\n```\nsudo apt-get install build-essential automake autoconf libtool patchelf\n```\n\n### OS X\n\nYou'll need to be sure that XCode Command Line Tools, make, autoconf, automake, and libtool are\ninstalled. The easiest way to do this is to install [Homebrew](https://brew.sh/), and then run the\nfollowing command. Note that installing Homebrew will automatically install the XCode command line\ntools.\n\n```\nbrew install autoconf automake libtool\n```\n\n### Windows\n\nTBD\n\n\n## Language tools\n\nAdditionally you will need golang, rust, and nim.  Distributions often do not have the latest\nversions of these languages.  Check for latest builds:\nhttps://www.rust-lang.org/tools/install\nhttps://go.dev/dl/\nhttps://nim-lang.org/install.html\n\n### Golang\n\nGolang is required to compile the gnark-based libraries for all platforms and architectures.  \n\nOn MacOs, homebrew has a working golang target, e.g.:\n\n`brew install go`\n\non Linux, for most recent distributions there is typically a somewhat recent go package, e.g.\n`apt install go`\n\nYou can fetch the latest golang distribution here:\nhttps://go.dev/dl/\n\n### Nim\n\nNim 2.2.x+ is required to build Constantine.  Constantine is skipped on riscv64 architectures, so it is not needed for linux-riscv64.\nOn MacOs, homebrew has a working nim target, e.g.:\n\n`brew install nim`\n\non Linux, for most recent distributions there is typically a nim package, e.g. \n`apt install nim`\n\nOtherwise see:\nhttps://nim-lang.org/install.html\n\n### Rust\n\nRust needs to be installed to compile the arithmetic library. The default way to install it on Linux or OS X is:\n\n```\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\nIf you are Mac M1/M2/M3 you might need to add this after installing rust:\n\n```\nrustup target add x86_64-apple-darwin\n```\n\nIf you prefer another installation method please refer to the [Rust installation instructions](https://www.rust-lang.org/tools/install).\n\n## Building\n\n1. This repository builds native libraries from source that is included as git submodules. To be\n   sure that you have cloned those submodules into the appropriate locations,\n   run `git submodule init \u0026\u0026 git submodule update`\n2. The build steps are entirely contained within the `build.sh` script at the repository root.\n   Simply run this script, and all the native modules contained herein will be configured with the\n   correct build options for Hyperledger Besu, and built.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Fbesu-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger%2Fbesu-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Fbesu-native/lists"}