Setup Silent Network Nodes
Intro
In this tutorial we will create Web3 Wallet, where:
- Backend will create requests and sign them own key then send the request and signature to the Nodes
- The Network Nodes will handle the requests like key generation and signing blockchain transactions
- The application will follow architecture of Network without User auth.
First we will start the Nodes, then start the Backend, and finally use the Wallet to transfer some USDC.
Start the Network
Lets begin with launching Silent Network MPC nodes.
Launch by docker compose
- Follow those steps
- Set IMG_TAG to the version without user authentication:
export IMG_TAG=v2.0.0-no-auth
After compose starts up, check the nodes are reachable:
curl --insecure https://localhost:8081/v2/version
curl --insecure https://localhost:8082/v2/version
curl --insecure https://localhost:8083/v2/version
Use deployed sandbox
If in a hurry, instead of running network ourself, you can use MPC Nodes from sandbox.
Check if you can reach MPC nodes: operator1, operator2, operator3:
curl https://silent-network-no-auth.sandbox.silencelaboratories.com/operator1/v2/version
curl https://silent-network-no-auth.sandbox.silencelaboratories.com/operator2/v2/version
curl https://silent-network-no-auth.sandbox.silencelaboratories.com/operator3/v2/version
That's it, proceed to the backend configuration.