Getting started
Installation
npm install @docknetwork/wallet-sdk-core @docknetwork/wallet-sdk-data-store-typeormUsage example
1. Initialize the data store
import {createDataStore} from '@docknetwork/wallet-sdk-data-store-typeorm/lib';
const dataStore = await createDataStore({
databasePath: 'dock-wallet',
dbType: 'sqlite',
defaultNetwork: 'testnet',
});2. Create a new wallet
3. Fetch your DIDs
4. Add a credential to the wallet
5. Verify a credential
Last updated
Was this helpful?