Skip to content

Getting Started

The Puzzle SDK provides React hooks that enable interaction between a privacy dApp and the Puzzle Wallet. There is also a pure JS sdk for devs who don’t want to use React.

Downloading the wallet

You can download the wallet on the chrome store, or on the App Store for iOS.

Downloading the sdk

You can download the React SDK using any of the following commands:

Terminal window
npm i @puzzlehq/sdk

You can download the JS SDK using any of the following commands:

Terminal window
npm i @puzzlehq/sdk-core

Clone a sample repo

We’ve built a few sample repos for your choice of a nice starting point:

You can clone the repo using the following command:

Terminal window
# clone the aleo-starter repo
git clone https://github.com/puzzlehq/build-a-token.git

Run the sample-dApp application

Terminal window
# change directory into the project
cd build-a-token
# run the dev server
npm run dev