2_cheatsheet_pocket

All accounts

pocketd keys list --keyring-backend=test

Gateway only

pocketd keys show -a gateway --keyring-backend=test

Application only

pocketd keys show -a application --keyring-backend=test

2. PATH Protocol Configuration (.config.yaml)

2.1 Generate Shannon Config

Generate config at local/path/.config.yaml:

make config_shannon_populate
circle-exclamation

2.2 Verify Shannon Configuration

Check config:

Expected format:

2.3 Verify onchain configuration matches

Verify service configuration for each application:

3. PATH Envoy Configuration (.values.yaml)

circle-info

More details about configs

You can learn more about various configurations at Auth Configsarrow-up-right or Helm Docsarrow-up-right. It covers auth, rate limiting, etc...

3.1 Copy the template config

Run the following command to create local/path/.values.yaml:

And check the contents of local/path/.values.yaml:

3.2 Update the services

Update this section with the services you want to support. For example:

Make sure this reflects both of the following:

1

What your onchain application is configured to support

Ensure the services listed match the onchain application configuration.

2

What your gateway .config.yaml is configured for

Ensure your gateway .config.yaml lists the same services.

4. Run PATH Stack Locally

circle-info

PATH LocalNet

Find more about feature available for local development of PATH.

4.1 Run & Monitor PATH

Run the following command and wait 1-2 minutes:

Your terminal should display the following:

Visit the Tilt dashboard at http://localhost:10350/r/(all)/overviewarrow-up-right and make sure everything is 🟢.

4.2 Check configured services

4.3 Example Relays

See Example Relays.

5. Stop PATH

When you're finished testing:

Was this helpful?