Creating an AAT


The Pocket Network protocol contemplates the use of Application Auth Tokens to allow Application Clients to access Service Nodes on behalf of the Application.


The AAT-SDK provides a secure way of connecting any JavaScript application to the Pocket Network.
Note: This process requires you to set up a back-end server to store your AAT and create a relay from your DApp to the serve.

Using the CLI:

For a quick and seamline setup for connecting your application(dApp), you can use the CLI to generate the token and embed it into your application. Though this way isn't a secure way to sign and send relays like the SDK, we recommend using caution when connecting your application this way.

To connect your DApp to the Pocket Network, you can create an AAT using the Pocket Core CLI or by using the AAT SDK.

Updated 25 days ago

Creating an AAT

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.