merkletreejs-solidity
Construct merkle trees with MerkleTree.js and verify merkle proofs in Solidity.
File Explorer
Download Latest Version (.zip)- MerkleProof.sol
- Migrations.sol
- 1_initial_migration.js
- 2_deploy_contracts.js
- merkleproof.js
- .gitignore
- .node-version
- LICENSE
- Makefile
- package-lock.json
- package.json
- README.md
- truffle-config.js
- truffle.js
# Installation Guide
1. Get the code
git clone https://github.com/miguelmota/merkletreejs-solidity
Downloads the entire project code from GitHub to your computer.
cd merkletreejs-solidity
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make test
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
