Test Wallet
Before working with our code snippets, we recommend creating a wallet account on the test wallet that’s part of the Interledger testnet.
The test wallet lets you create developer keys and wallet accounts, funded with play money, for making Interledger transactions via the Open Payments APIs.
Create an account on the test wallet
- Go to wallet.interledger-test.dev.
- Click Create an account at the bottom right of the screen.
- Enter your e-mail address, a password, confirm the password and click the arrowhead.
- Go to your inbox and look for an e-mail sent by
tech@interledger.org
with the subject “[Test.Wallet] Verify your account” and click Confirm my email address. - Click Login to your account at the email verification screen.
- Log in with your credentials.
- Complete the KYC steps, and liveness check. The only real information you need to share is your email address and phone number. All other information can be fictitious. If a photo is required, you can upload anything as long as it’s not blank.
You’re now ready to create a test wallet and add money to it!
Create a wallet account
- You can create a wallet account by clicking New Account.
- Enter a name for the account, choose an asset code (the currency) from the drop-down menu and click Create account.
- Click View Account.
- Click Add payment pointer.
- Enter a Payment Pointer name and a Public name and then click Create.
- Click Deposit.
- Enter an amount, then click Deposit.
Congratulations, you now have a funded test wallet!
Obtain a public-private key pair and key ID
Before you can initialize an authenticated Open Payments client, you must obtain a public-private key pair and a key ID.
- Sign in to wallet.interledger-test.dev, if not already signed in.
- Select Settings > Developer Keys.
- Expand the drop-down menu for your wallet account.
- Click Generate public & private key. Your key ID and public key appear on the site. A private key file named
private.key
automatically downloads to your machine.
You can now use your keys and payment pointer to initialize an authenticated Open Payments client.