splash

所属分类:其他
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2024-01-16 16:47:11
上 传 者sh-1993
说明:  no intro
(A decentralized network for sharing offers across the Chia ecosystem)

文件列表:
src/
Cargo.lock
Cargo.toml
LICENSE

# Splash! Splash! is a decentralized network for sharing [Offers](https://chialisp.com/offers/) across the [Chia](https://github.com/Chia-Network/chia-blockchain) ecosystem based on Rusts [libp2p](https://github.com/libp2p/js-libp2p) with DHT peer discovery. Every connected peer receives all offers broadcasted from other peers. There is no centralized connection, the peers connect to each other and are aware of each other. The Splash! command line tools acts as a proxy between your application the Splash! network. It will broadcast your offers to the network and relay offers from other peers to your local application through a local HTTP API. ## Installation You can download prebuilt binaries in the [releases section](https://github.com/dexie-space/splash/releases). ## Building You can also build and install from source (requires the latest stable [Rust] compiler.) ``` cargo install --git https://github.com/dexie-space/splash.git splash ``` ## Usage ``` Usage: splash [OPTIONS] Options: -k, --known-peer Set initial peer, if missing use dexies DNS introducer -l, --listen-address Set listen address, defaults to all interfaces, use multiple times for multiple addresses -i, --identity-file Store and reuse peer identity (only useful for known peers) --offer-hook HTTP endpoint where incoming offers are posted to, sends JSON body {"offer":"offer1..."} (defaults to STDOUT) --listen-offer-submission Start a HTTP API for offer submission, expects JSON body {"offer":"offer1..."} -h, --help Print help ``` ## Examples Start the node and listen on all interfaces (will use dexies DNS introducer): `./splash` Start a node and open local webserver for offer submission on port 4000: `./splash --listen-offer-submission 127.0.0.1:4000` Start a node and post incoming offers to a HTTP hook: `./splash --offer-hook http://yourApi/v1/offers` Start a node and bootsrap from a known peer (will not use dexies DNS introducer): `./splash --known-peer /ip6/::1/tcp/12345/p2p/12D3K...` Start a node and listen on a specific interface/port: `./splash --listen-address /ip6/::1/tcp/12345` Start a node and reuse identity: `./splash --identify-file identity.json`

近期下载者

相关文件


收藏者