CashWeb backend. Send peer-to-peer E2E encrypted messages with crypto as spam protection mechanism.
- Install the
protobuf-develpackage:sudo zypper install protobuf-devel - Clone this repo:
git clone https://github.com/givelotus/cashweb.git - Clone the
bitcoinsuiterepo into the same directory (i.e. so that it is next to thecashwebdirectory):git clone https://github.com/givelotus/bitcoinsuite - Change into
cashwebdirectory:cd cashweb - Add the following contents to
cashwebd-exe/config.toml(create file if it doesn't exist):
host = "127.0.0.1:6543"
url = "http://127.0.0.1:6543"
[registry]
db_path = "./test_db"
net = "mainnet"
peers = []
[bitcoin_rpc]
url = "http://127.0.0.1:10604"
rpc_user = "lotus"
rpc_pass = "lotus"
- Build and run cashweb:
cargo run cashwebd-exe/config.toml
The build process will take some time to complete. If successful, you should see a message similar to the following:
2023-03-07T01:31:36.979388Z INFO Listening on 127.0.0.1:6543