Skip to content

SDK: server-side (Node) usage example with secret-key signer #140

Description

@samjay8

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation improvementsmediumStandard feature or fix — a single page, hook, or contract functionsdk@invofi/sdk package work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions