Skip to content

docs: SDK examples must name an existing vault account - #127

Open
dftaufiq wants to merge 1 commit into
vAPI-Network:mainfrom
dftaufiq:fix/sdk-example-existing-account
Open

dftaufiq wants to merge 1 commit into
vAPI-Network:mainfrom
dftaufiq:fix/sdk-example-existing-account

Conversation

@dftaufiq

@dftaufiq dftaufiq commented Dec 3, 2026

Copy link
Copy Markdown

The lead createVapiClient examples in README.md and docs/sdk.md passed { account: "researcher" }. That wallet does not exist on a new machine, so the first snippet a new SDK user runs fails immediately:

KeystoreError: No wallet named researcher. This machine has: jon-scout, main.

(Verified against the published [email protected] on Ubuntu 24.04, Node v24.22.1.)

Fix: use main, the account vapi setup creates, and add one sentence in both places saying the account must already exist in the vault (vapi accounts add <name> creates more) and what error a missing name throws. Docs-only change.

The lead createVapiClient examples in README.md and docs/sdk.md passed
{ account: "researcher" }, a wallet that does not exist on a new
machine, so the first snippet a new SDK user runs throws
KeystoreError: No wallet named researcher. Use the "main" account
that vapi setup creates and say the account must already exist.

Signed-off-by: Dias Fajar Taufiq <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant