https://github.com/commitground/patricia-tree-demo
Patricia Tree Demo Application with ReactJS & Drizzle
https://github.com/commitground/patricia-tree-demo
drizzle merkle patricia react redux tree truffle
Last synced: 12 months ago
JSON representation
Patricia Tree Demo Application with ReactJS & Drizzle
- Host: GitHub
- URL: https://github.com/commitground/patricia-tree-demo
- Owner: commitground
- License: mit
- Created: 2018-12-11T15:12:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T07:45:22.000Z (almost 7 years ago)
- Last Synced: 2025-01-05T23:40:41.274Z (about 1 year ago)
- Topics: drizzle, merkle, patricia, react, redux, tree, truffle
- Language: CSS
- Homepage: https://commitground.github.io/patricia-tree-demo
- Size: 23.8 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# patricia tree demo app
Patricia Tree Demo Application with ReactJS & Drizzle
[Go to the deployed app on Ropsten network](https://commitground.github.io/patricia-tree-demo)
## What it is?
1. It's a demo dApp for [solidity-patricia-tree](https://github.com/commitground/solidity-patricia-tree) library.
1. You can read & write key-value into a patricia tree which is implemented as a smart contract
1. Merkle tree contract is deployed on the Ropsten network ([0xc5e1320b08ccb821941c5285e4af0adbf244eb69](https://ropsten.etherscan.io/address/0xc5e1320b08ccb821941c5285e4af0adbf244eb69))
1. Hovering on a node will show you information of a node
1. 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](https://github.com/commitground/solidity-patricia-tree)
1. [Truffle](https://github.com/trufflesuite/truffle)
1. [Ganache](https://github.com/trufflesuite/ganache)
1. [Drizzle](https://github.com/trufflesuite/drizzle)
1. [Create React App](https://github.com/facebook/create-react-app)
1. [Redux](https://github.com/reduxjs/redux)
1. [Web3JS](https://github.com/ethereum/web3.js)
1. And lots of lovely open sources