Context
@invofi/sdk is client-focused today (built around a browser wallet signer), but the same typed calls are useful from Node scripts (keepers, indexers, e2e tests). There is no documented path for that today.
Task
Add a server-side usage example to the SDK (e.g. apps/sdk/examples/node.md plus a runnable examples/keeper-call.ts) showing how to construct a signer from a secret key and call read + write methods against testnet.
Stop
Do not publish secrets. Do not change the SDK's public API in this task.
Acceptance
- The example runs from the repo with env-provided secret key and prints a real invoice from testnet.
Context
@invofi/sdkis client-focused today (built around a browser wallet signer), but the same typed calls are useful from Node scripts (keepers, indexers, e2e tests). There is no documented path for that today.Task
Add a server-side usage example to the SDK (e.g.
apps/sdk/examples/node.mdplus a runnableexamples/keeper-call.ts) showing how to construct a signer from a secret key and call read + write methods against testnet.Stop
Do not publish secrets. Do not change the SDK's public API in this task.
Acceptance