Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
In this article, we walk you through the process setting up the Verida Client SDK and guide you through the process of initializing and using the library in your applications.
You can interactively use the Verida client library in your browser using the .
Start by installing the Verida client protocol library and Verida Wallet authentication method:
You may receive compilation warnings when using typescript regarding pouchdb
. If that happens, add the pouchdb-core
type definitions:
Initialize a connection to the Verida network using a private key stored on the user’s mobile device using the Verida Wallet:
Note: Change Network.BANKSIA
to Network.MYRTLE
to use a mainnet network.
CONTEXT_NAME
: A string representing your decentralized application. By convention prefix it with your company name. ie: Verida: My Application
.
You can now verify the user has connected successfully to your application:
You can open a database, save a record and then fetch it:
about different authentication methods.
Learn more about building applications with decentralized and .