1.0.0 • Published 4 years ago
@web4/bitproxy v1.0.0
@web4/bitproxy
server
bitproxy-server --helpbitproxy-server --gen_seedCreate a JSON config file for your server
{
"seed": "SEED_ABOVE"
}# -l 7001 <---- port of the local service you want to expose to the swarm
bitproxy-server -l 7001 -c config-server.json
# the command will print out the pubkeyclient
Create a JSON config file for your client
{
"peer": "PUBKEY_FROM_SERVER"
}bitproxy -p 1337 -c config-client.json
telnet localhost 13371.0.0
4 years ago