[SDK] PATH <> Shannon SDK Refactor, Tech Debt & Improvements
@commoddity is already working on this.
Since Jun 9, 2025.
Assessment
This issue has not been assessed yet.
Description
Objective
Reduce tech debt and set a better foundation for the shannon-sdk as the protocol has gone live and:
- More users will start onboarding to Pocket Network Shannon either via PATH
- People use the shannon SDK directly
Origin Document
This ticket stemmed from this github discussion and this internal discord thread.
It is a result of introducing Account caching in the PATH SDK and identifying the deliniation of responsibilities between the shannon SDK.
📃 NOTE: The shannon-sdk was built very quickly when a lot less knowledge of how the end-to-end system would look like 📃
Goals
- Reduce
shannon-sdk<>pathrelated tech debt - Set a better foundation for the
shannon-sdk - Improve the performance of
pathviacaching - Enable more consistent patterns across app/session/account handling in
FullNodeimplementations - Reduce onboarding complexity for future users of PATH and the SDK
- Move account-related logic (e.g., public key retrieval) closer to its actual data source
Deliverables
- Replace use of
sdk.PoktNodeAccountFetcherwith a higher-levelGetAccountmethod or similar abstraction - Update the
shannon-sdkto includeGetAccount(ctx, address)method with a clear return type - Update
ApplicationRing,Signer, and other downstream consumers to use this method instead ofGetPubKeyFromAddress - Refactor the relevant PATH protocol logic (e.g.,
BuildRequestContextForEndpoint,signRelayRequest) to use the new flow - Ensure backwards compatibility or clearly document breaking changes
- Update the
shannon-sdkdocumentation - Remove the tech-debt introduced in PR #290
- Update PATH Overall Health Grafana with Request Bar Chart and
Request Logs Panel(can't find it) andRequest by domain panel(can't find it)
Non-goals / Non-deliverables
- Do not include major changes to unrelated modules like the
applicationorsupplier, etc. - Do not include full replacement of
FullNodeinterface usages outside of account-related functionality
Creator: @Olshansk
Co-Owners: @commoddity @adshmh @okdas
- Dominant language
- Go
- Stars
- 12
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pokt-network/path
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
pokt-network/path#509 ·
-
bug gateway
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pokt-network/path#477 ·
-
config documentation evm portal-db portal-ui qos
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pokt-network/path#475 · 1 comment ·
-
[RADIX][TRON][SUPPLIER] Suppliers should not have to append additional API paths in their RM configMay be free again @adshmh claimed this 404 days ago, and no pull request is open. Openqos
pokt-network/path#443 · 1 comment · 3 assignees ·
-
[PORTALDB][CONFIG] Surface sanctions settings and thresholds as configurables in both the Config files and Portal DBMay be free again @commoddity claimed this 427 days ago, and no pull request is open. Openconfig documentation portal-ui qos
pokt-network/path#409 · 1 assignee ·
All issues in pokt-network/path
Similar issues
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()Possibly taken @apoorvdarshan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#22770 ·
Maintainers usually reply within 1 day
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug needs-acceptance wg/router-models-inference-runtime
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vllm-project/semantic-router#5295 ·
Maintainers usually reply within 1 day
-
plan lint: overclaim fires on every page linted without enrichment (regex matches inlined chrome.js)Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
openilink/openilink-hub#271 ·