A tool to integrate SMT into CKB contracts easier.
This tool is used to store an SMT root into chain, also provide methods to update the SMT and generate proof to verify whether some data is on the SMT or not.
-
A tool to integrate SMT into CKB contracts easier.
There is two demo contracts:
-
To store SMT on chain.
-
Check Data with On-Chain Key-Value Store
To verify if some data was in the on-chain store (equivalent to on the SMT).
Licensed under MIT License.