1.23.1 • Published 7 months ago
@ledgerhq/revault-api v1.23.1
revault-api
Library that exposes types & data-generators for the revault ecosystem.
📖 If you are looking for internal developer instructions, please check CONTRIBUTING.md.
Installation
Example with pnpm:
pnpm add @ledgerhq/revault-apiUsage
You can import all the available types from the library root:
import { AccountResponse, VaultRequestResponse } from "@ledgerhq/revault-api";You can import data generation functions from /fakes module:
import { genAccountResponse } from "@ledgerhq/revault-api/fakes";
const fakeAccount = genAccountResponse();For more information, please refer to Documentation.