Auto-Peering with the Test Network
You can start one local instance of Rafiki and peer it automatically with the remote Test Network by running the following commands:
The mock account servicing entity, Cloud Nine Wallet, in your local Rafiki instance will automatically peer with the remote Test Network instance. The required services will be exposed externally using the localtunnel package.
The exposed ports are:
Service | Port |
---|---|
Open Payments | 3000 |
ILP connector | 3002 |
Auth server | 3006 |
To use the Open Payments example in the Bruno API collection, follow these steps:
- Navigate to localhost:3030 to find the list of created wallet addresses. Alternatively, you can run the following command:
-
Copy the URL of one of the wallet addresses.
-
Set the URL as the
senderWalletAddress
variable in the Bruno Autopeering environment.
To shut down the connection and clear the environment, run the following command: