Getting Up and Running on Sandbox
The setup for Sandbox is Identical to that of your Production, authentication setup found in Authentication. You should be sending the same fundType to ensure that both your Sandbox and Production account match.
1. Setting up Sandbox with ProphetX
Generate an Ed25519 keypair:
openssl genpkey -algorithm ED25519 -out private-key.pem -outpubkey public-key.pem
Send public-key.pem to your ProphetX contact through a secure channel (Slack for now). You'll receive back:
- Your ISV UUID. This becomes both the
kidin your JWT header and theissin your claims. - Your
fundType:SHAREDorINDIVIDUAL. This determines how wallets work — see Wallets.
Keep private-key.pem on your server, ideally in a secrets manager. It should never end up in client-side code or version control.
2. Using the Proper URL
Once you have your private-key you will be able to start playing in the sand with your ISV UUID and plug it into your Sandbox platform and calls using:https://isv-sandbox-api.betprophet.co
