You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tried the SDK as a new user: search worked, the README TS example failed on the account name
#128
I installed vapi-network from npm and ran the examples from the README, as a first-time user would. Environment: Ubuntu 24.04.5 LTS, Node v24.22.1, npm 10.9.4, vapi-network 0.17.4.
What worked
npm install vapi-network was clean (one bundled package, no dependency tree to fight).
The Quickstart's vapi search "weather" worked straight away with no wallet unlock: merged results from several catalogues with health and latency per listing.
vapi receipts read my existing vault and ledger correctly (wallet main, no receipts yet).
After fixing the account name (below), the TypeScript SDK snippet worked: createVapiClient({ account: "main" }) + vapi.call.search("Base DEX volume") returned results.
The first thing that broke / confused me
The README's TypeScript example (also the lead example in docs/sdk.md) is:
KeystoreError: No wallet named researcher. This machine has: jon-scout, main.
Nothing in the snippet or the surrounding text says the account must already exist in the vault, or that vapi setup creates one named main. As a new user I could not tell whether "researcher" was a placeholder I had to create first, a demo account that should exist, or a typo. I opened a small docs PR for this: #127.
Minor note: the README Quickstart uses a global install (npm i -g), while the SDK section just says npm i vapi-network; with a local install the vapi binary is under node_modules/.bin, which is obvious to Node users but worth one line for everyone else.
Overall the search/discovery side worked exactly as documented — the only real stumble was the example's account name.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I installed
vapi-networkfrom npm and ran the examples from the README, as a first-time user would. Environment: Ubuntu 24.04.5 LTS, Node v24.22.1, npm 10.9.4, vapi-network 0.17.4.What worked
npm install vapi-networkwas clean (one bundled package, no dependency tree to fight).vapi search "weather"worked straight away with no wallet unlock: merged results from several catalogues with health and latency per listing.vapi receiptsread my existing vault and ledger correctly (walletmain, no receipts yet).createVapiClient({ account: "main" })+vapi.call.search("Base DEX volume")returned results.The first thing that broke / confused me
The README's TypeScript example (also the lead example in
docs/sdk.md) is:Run as written, it throws:
Nothing in the snippet or the surrounding text says the account must already exist in the vault, or that
vapi setupcreates one namedmain. As a new user I could not tell whether "researcher" was a placeholder I had to create first, a demo account that should exist, or a typo. I opened a small docs PR for this: #127.Minor note: the README Quickstart uses a global install (
npm i -g), while the SDK section just saysnpm i vapi-network; with a local install thevapibinary is undernode_modules/.bin, which is obvious to Node users but worth one line for everyone else.Overall the search/discovery side worked exactly as documented — the only real stumble was the example's account name.
All reactions