anoma/namada
Fork: 974 Star: 2410 (更新于 2024-12-18 06:55:03)
license: GPL-3.0
Language: Rust .
Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
最后发布版本: v0.44.0 ( 2024-09-26 18:58:56)
Namada
Overview
Namada is a Proof-of-Stake L1 for multichain asset-agnostic data protection. Namada uses CometBFT consensus and enables multi-asset shielded transfers for any native or non-native asset. Namada features full IBC protocol support, a modern proof-of-stake system with cubic slashing, and a stake-weighted on-chain governance mechanism. Users of Namada's MASP (Multi-Asset Shielded Pool) are rewarded for their contributions to the shielded set in the form of native protocol tokens. A multi-asset shielded transfer wallet is provided in order to facilitate safe user interaction with the protocol.
📓 Docs
- User guides
- Specs
- Rust docs can be built with
cargo doc --open
(add--no-deps
to only build docs for local crates)
Warning
Here lay dragons: this codebase is still experimental, try at your own risk!
💾 Installing
There is a single command to build and install Namada executables from source (the node, the client and the wallet). This command will also verify that a compatible version of CometBFT is available and if not, attempt to install it. Note that currently at least 16GB RAM is needed to build from source.
make install
After installation, the main namada
executable will be available on path.
To find how to use it, check out the User Guide section of the docs.
For more detailed instructions and more install options, see the Install section of the User Guide.
⚙️ Development
# Build the provided validity predicate and transaction wasm modules
make build-wasm-scripts-docker
Before submitting a PR, please make sure to run the following
# Format the code
make fmt
# Lint the code
make clippy
🧾 Logging
To change the log level, set NAMADA_LOG
environment variable to one of:
-
error
-
warn
-
info
-
debug
-
trace
The default is set to info
for all the modules, except for CometBFT ABCI, which has a lot of debug
logging.
For more fine-grained logging levels settings, please refer to the tracing subscriber docs for more information.
To switch on logging in tests that use #[test]
macro from test_log::test
, use RUST_LOG
with e.g. RUST_LOG=info cargo test -- --nocapture
.
How to contribute
Please see the contributing page.
Dependencies
The ledger currently requires CometBFT v0.37.11 is installed and available on path. This can be achieved through following these instructions.
Hermes
We maintain a fork of hermes that adds support for Namada.
Compatibility table with Namada:
Namada binaries | Hermes |
---|---|
v1.0.0 | 1.10.4-namada-beta17-rc2 |
最近版本更新:(数据更新于 2024-10-08 02:31:15)
2024-09-26 18:58:56 v0.44.0
2024-08-19 18:38:15 v0.43.0
2024-08-14 15:28:24 v0.42.0
2024-07-25 07:48:15 v0.41.0
2024-07-06 06:03:15 v0.40.0
2024-06-06 17:18:32 v0.39.0
2024-05-31 17:30:08 v0.38.1
2024-05-31 14:58:00 v0.38.0
2024-05-24 12:01:56 v0.37.0
2024-05-22 15:33:56 v0.36.1
主题(topics):
blockchain, privacy, rust, zkp
anoma/namada同语言 Rust最近更新仓库
2024-12-22 08:48:41 lapce/lapce
2024-12-19 20:41:09 tw93/Pake
2024-12-19 19:31:32 dashpay/platform
2024-12-18 10:31:25 DioxusLabs/dioxus
2024-12-17 17:18:34 lanyeeee/jmcomic-downloader
2024-12-16 23:19:51 meilisearch/meilisearch