duanyytop / smt-white-list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smt-white-list

Prerequisites

The smt-white-list and syncer share the same mysql database, and the smt-white-list use CoTA data from the database to filter lock hash and smt root

Quick Start

Manual

  • Rename .env.example to .env
    • Update the database connection string in DATABASE_URL key
    • Update the ckb-indexer url string in CKB_INDEXER
  • Build with release profile: make build-release
  • Run with release profile: make run-release

Release

RUST_LOG=info DATABASE_URL=mysql://root:password@localhost:3306/db_name CKB_INDEXER=http://localhost:8116 ./smt-white-list

About


Languages

Language:Rust 99.2%Language:Makefile 0.5%Language:Shell 0.2%