Environment Variable
- To use it on Cardano Preview Testnet, set
NEXT_PUBLIC_NETWORK=preview. Leave it unset to use the Mainnet. - To connect it to a GraphQL node, set
NEXT_PUBLIC_GRAPHQLto the URI of the node. - To sumbit transactions to relays, set
NEXT_PUBLIC_SUBMITto the URI of the node, split the URIs with;. Beware that the server needs a reverse proxy to process CORS request. - To sync signatures automatically, set
NEXT_PUBLIC_GUNto the URIs of the peers, split the URIs with;. We use GUN (opens in a new tab) to sync.