跳到正文

正在自动登录…

← 返回项目列表

Stellar-Clear/clearledger-contracts

发票融资智能合约

ClearLedger 是基于 Stellar 的 Soroban 智能合约集合,用于发票融资,管理参与者注册、发票生命周期、USDC 流动性池和托管协调。适用于在 Stellar 测试网上构建发票融资应用的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/14 15:35:55 · 查看原文

普通Rust应用与服务
累计 Stars
130
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/14 15:35:55

使用方式

通过 Rust 工作区构建和部署 Soroban 合约,使用 Stellar CLI 和脚本进行测试网部署。

查看 README 依据
[Pool](https://stellar.expert/explorer/testnet/contract/CDBJEGCV3IENZJKCK3LYYOSA7B5NZSPELBE7FPFHUKLG74LRJTCQIZ45) ## Build and contribute The workspace pins Rust 1.85.0 and the `wasm32v1-none` target in `rust-toolchain.toml`. Install the toolchain and Stellar CLI, then run: ```bash rustup toolchain install 1.85.0 rustup target add wasm32v1-none --toolchain 1.85.0 cargo fmt --all --check cargo clippy --all-targets --all-features -- -D warnings cargo test --workspace cargo build --workspace --release --target wasm32v1-none ```
For a fresh testnet deployment, configure `.env` using `.env.example`, fund a testnet deployer, then run: ```bash bash scripts/setup-testnet.sh bash scripts/deploy.sh ``` The deployment script supports resumable deployments and updates the address table above. See [DEPLOYMENT.md](DEPLOYMENT.md) for configuration, wiring, verification, and rollback details. The default deployment targets the supported USDC workflow; XLM deployment is experimental and opt-in.
部署要求

需要 Rust 1.85.0 和 wasm32v1-none 目标,以及 Stellar CLI。部署测试网需配置 .env 并资助测试网部署账户。

查看 README 依据
[Pool](https://stellar.expert/explorer/testnet/contract/CDBJEGCV3IENZJKCK3LYYOSA7B5NZSPELBE7FPFHUKLG74LRJTCQIZ45) ## Build and contribute The workspace pins Rust 1.85.0 and the `wasm32v1-none` target in `rust-toolchain.toml`. Install the toolchain and Stellar CLI, then run: ```bash rustup toolchain install 1.85.0 rustup target add wasm32v1-none --toolchain 1.85.0 cargo fmt --all --check cargo clippy --all-targets --all-features -- -D warnings cargo test --workspace cargo build --workspace --release --target wasm32v1-none ```
For a fresh testnet deployment, configure `.env` using `.env.example`, fund a testnet deployer, then run: ```bash bash scripts/setup-testnet.sh bash scripts/deploy.sh ``` The deployment script supports resumable deployments and updates the address table above. See [DEPLOYMENT.md](DEPLOYMENT.md) for configuration, wiring, verification, and rollback details. The default deployment targets the supported USDC workflow; XLM deployment is experimental and opt-in.
已知限制

合约部署在测试网且未经正式审计,存在已知限制,包括发行人支付路径未接入发票融资,且不验证商业文件合法性。

查看 README 依据
The system coordinates on-chain state and token transfers. It does not validate the underlying commercial documents or establish that an invoice is legitimate. ### Invoice lifecycle ```text Created → Listed → Funded → Active → Confirmed → Repaid └──────────────────→ Defaulted ``` Participant verification and invoice status are checked on-chain at relevant transitions. The optional Underwrite agent registry integration is a separate dependency and must be configured for attestation-gated listing. ## Testnet deployments
These contracts are deployed on Stellar Testnet and have not been formally audited. The current implementation has known functional and trust-model limitations, including an issuer payout path that is not yet wired into invoice funding. Review [known limitations](docs/LIMITATIONS.md) and [SECURITY.md](SECURITY.md) before integrating. Do not use real funds or treat testnet assets as redeemable value.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/10 03:24:56
首次达标收录
2026/10/10 09:06:45
统计更新时间
2026/10/22 19:06:05

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.6 / 5

新颖度
3.1
实用价值
3.4
成熟度
4.0
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/10/10 13:58:13 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/22 00:42:26
许可证标识
MIT
Fork 数
150
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目