跳到正文

正在自动登录…

← 返回项目列表

Stellar-Sentinel/sentinel-contracts

异常标记代理管理事件发布

Stellar Sentinel 的 Soroban 智能合约,用于管理监控和响应代理、配置风险阈值、记录异常标记,并发布事件供后端和仪表盘使用。适用于 Stellar 网络上的安全监控场景。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/17 03:46:12 · 查看原文

值得看Rust应用与服务
累计 Stars
130
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/17 03:46:12

使用方式

通过 Stellar CLI 部署和调用合约,使用 Rust 和 Soroban SDK 构建。

查看 README 依据
These commands create a **new** identity and contract instance; they do not redeploy or alter the contract above. Install the Stellar CLI, Rust, and the Wasm target first. Keep the generated identity in secure storage and never commit its seed phrase. ```bash stellar keys generate sentinel-admin --network testnet --fund --secure-store stellar contract build --locked stellar contract deploy \ --wasm target/wasm32v1-none/release/sentinel_contract.wasm \ --source-account sentinel-admin \ --network testnet \ --alias sentinel_contract stellar contract invoke \ --id sentinel_contract \
Requires stable Rust, the `wasm32-unknown-unknown` and `wasm32v1-none` targets, and Stellar CLI for optimized deployment builds. There are no contract-specific environment variables; network IDs and signing identities are supplied to deployment tooling outside this repository. ```bash rustup target add wasm32-unknown-unknown wasm32v1-none cargo build --target wasm32-unknown-unknown --release stellar contract build --locked cargo test cargo clippy --all-targets -- -D warnings ```
部署要求

需要 Rust 稳定版、wasm32-unknown-unknown 和 wasm32v1-none 目标,以及 Stellar CLI。

查看 README 依据
Requires stable Rust, the `wasm32-unknown-unknown` and `wasm32v1-none` targets, and Stellar CLI for optimized deployment builds. There are no contract-specific environment variables; network IDs and signing identities are supplied to deployment tooling outside this repository. ```bash rustup target add wasm32-unknown-unknown wasm32v1-none cargo build --target wasm32-unknown-unknown --release stellar contract build --locked cargo test cargo clippy --all-targets -- -D warnings ```
已知限制

合约不存储完整历史,需要事件索引;无法验证链下评分的准确性;管理事件索引当前不在仪表板显示。

查看 README 依据
# Stellar Sentinel Soroban Contract [![CI](https://github.com/Stellar-Sentinel/sentinel-contracts/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Stellar-Sentinel/sentinel-contracts/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) Soroban contract for administrator-managed monitoring and response roles, a configurable 0–100 score threshold, and account flags. It publishes flag and administrative events and stores the latest flag for each subject. It does not store full history; event indexing is needed for that.
| `gpause` / `gunpause` | guardian or administrator address | `bool` | Guardian pause state changed. | The existing `flagged` event remains unchanged: its topics are `flagged`, agent address, and subject address, and its value is the `u32` score. The backend also decodes `flaggedv2` reports. Administrative event indexing is not currently shown in the dashboard. A failed or unauthorized call aborts before publishing an event. ## Testnet deployment
Successful initialization and state-changing administrative calls publish the corresponding events described above. Read methods do not extend the TTL of each grant; expired grants are removed from the active registry when agent counts or lists are refreshed. Only trusted addresses should receive agent authorization. The contract enforces the score range and threshold, but it cannot establish that an off-chain score is accurate. Storage follows Soroban TTL and archival rules. Deploy, initialize, and configure each network separately; never commit secrets.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/8 23:01:03
首次达标收录
2026/10/9 12:11:07
统计更新时间
2026/10/22 19:06:05

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

模型评估

值得看加权总分 3.8 / 5

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

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

仓库信息

最近推送
2026/10/10 04:24:37
许可证标识
MIT
Fork 数
130
当前状态
未归档

收录记录

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