This is Merkle Tree implementation on the Solidity language. You can pass any amount of transactions (actually you can pass any strings) in the smart contract constructor. Everyone can verify that some transaction is exist in this Merkle Tree using verify
method.
The smart contract is written using Solidity for the Ethereum blockchain. I used to hardhat as a development environment framework.
- First you need to clone this repo to your machine:
git clone https://github.com/TsigelnikovNikita/MerkleTree.git
- Then you need to install all requirements from package.json:
npm install
- The last one is just compiling the contract!:
npx hardhat compile
In processing...
In processing...
It's just a study work. If you have any proposals or remarks please feel free and let me know about it.