Skip to content

commitground/patricia-tree-demo

Repository files navigation

patricia tree demo app

Patricia Tree Demo Application with ReactJS & Drizzle

Go to the deployed app on Ropsten network

What it is?

  1. It's a demo dApp for solidity-patricia-tree library.
  2. You can read & write key-value into a patricia tree which is implemented as a smart contract
  3. Merkle tree contract is deployed on the Ropsten network (0xc5e1320b08ccb821941c5285e4af0adbf244eb69)
  4. Hovering on a node will show you information of a node
  5. Clicking a node will hide or show its children

Run it on your local environment

git clone https://github.com/commitground/patricia-tree-demo
cd patricia-tree-demo
npm run install
npm run chain # run this script on another shell window
npm run migrate
npm run start

In the local environment, it is designed to listen ganache with websocket and use its unlocked account. Thus, without metamask & ropsten account, you can test this application with your own private net quickly.

This application uses

  1. Solidity Patricia Tree
  2. Truffle
  3. Ganache
  4. Drizzle
  5. Create React App
  6. Redux
  7. Web3JS
  8. And lots of lovely open sources