Build your first dApp in 5 minutes

Project setup

git clone https://github.com/dharmaprotocol/dharma-tutorial-1
cd dharma-tutorial-1
npm install
npm run blockchain
cd dharma-tutorial-1 && npm start

Step 1

const dharma = new Dharma("http://localhost:8545");

Step 2

const accounts = await dharma.blockchain.getAccounts();

Step 3

Step 4

console.log(loanRequest.serialize());

Congratulations!

The Dharma Developer Program

Join the Dharma Developer Program today!

cofounder, CEO | Foundation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store