Docs
Every command copies with one click. Fill the angle-bracket placeholders with your own values, then paste into a terminal. Everything targets the public RPC at rpc.sumchain.io — point --rpc-url at a local mirror to run against your own chain.
Angle-bracket tokens are yours to fill in before running. Nothing in a command is optional unless a caption says so.
- <seed>
- Path to a hex-encoded Ed25519 key file (your SUM Chain wallet).
- <path>
- Local file path to upload, or output path to download into.
- <merkle_root>
- 64-hex file identity returned by ingest-v2.
Install
Linux x86_64Prebuilt binaries are published for Linux x86_64. The installer pins a version explicitly; there is no implicit latest.
$ curl -fsSL https://github.com/SUM-INNOVATION/Storage-Node-Interface-Protocol/releases/download/v0.4.0-rc4/install.sh | sh -s -- --version v0.4.0-rc4
Build from source
Rust 1.85+For any target without a prebuilt tarball. Requires the Rust stable toolchain (edition 2024, MSRV 1.85).
$ git clone https://github.com/SUM-INNOVATION/Storage-Node-Interface-Protocol.git$ cd Storage-Node-Interface-Protocol$ git checkout v0.4.0-rc4$ make release-check
Use as a client
--clientFile user. No registration, no stake, no daemon: push or pull, then exit.
$ sum-node --client --key-file <seed> --rpc-url https://rpc.sumchain.io ingest-v2 <path> --visibility public
$ sum-node --client --key-file <seed> --rpc-url https://rpc.sumchain.io download <merkle_root> --output <path>
Run an archive node
listenLong-running operator. Registers on-chain with a 1 Koppa stake, then serves chunks and answers PoR challenges.
$ sum-node --key-file <seed> --rpc-url https://rpc.sumchain.io register-encryption-key
$ sum-node --key-file <seed> --rpc-url https://rpc.sumchain.io register-node --stake 1000000000
$ sum-node --key-file <seed> --rpc-url https://rpc.sumchain.io --profile production listen
Manage a pending upload
PendingIf an ingest fails after on-chain registration, the file is left Pending. Finish it or withdraw.
$ sum-node --key-file <seed> --rpc-url https://rpc.sumchain.io resume <merkle_root> <path>
$ sum-node --key-file <seed> --rpc-url https://rpc.sumchain.io abandon <merkle_root>