https://github.com/secretshardul/merkle-math
Calculate logarithm and power using merkle tree
https://github.com/secretshardul/merkle-math
Last synced: 3 months ago
JSON representation
Calculate logarithm and power using merkle tree
- Host: GitHub
- URL: https://github.com/secretshardul/merkle-math
- Owner: secretshardul
- Created: 2022-12-02T19:58:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T23:09:58.000Z (over 3 years ago)
- Last Synced: 2025-01-19T07:24:41.828Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage: https://bafybeiafzjnctnw4ooyw3626znzibyefnhwn7fo7hbamn2ht5t6yi7lvim.ipfs.gateway.valist.io/
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Merkle Math
A gas efficient way to obtain logarithm and power on chain using merkle tree.
## Steps
```sh
npx hardhat node
# Deploy on localnet
hardhat run ./scripts/deploy.ts --network hardhat
```
## Addresses
| | MerkleMath | Calculator |
|------------------|--------------------------------------------|--------------------------------------------|
| Matic Mumbai | 0xc12af78631eD26157B1ce37C680f99A5389cdf21 | 0x369b45A61F8B569300e6137F61cB42Dfb21Ab6Ba |
| Cronos testnet | 0xa622A85B2E007C8B9e02ba18970dA379B8308c93 | 0xbF3892B7A68e939bF1ca0DB5f91d5Cc73AaF779A |
| Shardeum testnet | 0xa622A85B2E007C8B9e02ba18970dA379B8308c93 | 0x842F183E400560bDB47Cf6e5c972CDE1bfe3aDd1 |