Skip to content

epappas/binary-souls

Repository files navigation

binary-souls

Usage

  1. Start a File Provider: In one terminal, run the following command to start a file provider node:

    cargo run -- --listen-address /ip4/127.0.0.1/tcp/40837 \
              --secret-key-seed 1 \
              provide \
              --path <path-to-your-file> \
              --name <name-for-others-to-find-your-file>
  2. Start a File Retriever: In another terminal, run the following command to start a file retriever node:

    cargo run -- --peer /ip4/127.0.0.1/tcp/40837/p2p/12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X \
              get \
              --name <name-for-others-to-find-your-file>

    This command initiates a node that connects to the specified peer (the provider) and requests the file with the given name.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published