zenith/app/ZenScan.hs
pitmutt 281682ac18
Milestone 3: RPC server, ZIP-320 (#104)
This PR contains the following changes:

- New RPC server for programmatic access to the wallet.
- Support for ZIP-320, TEX addresses and shielding/de-shielding of funds
- Native Haskell implementation of the Zcash commitment trees

Co-authored-by: Rene Vergara A. <rvergara59@protonmail.com>
Reviewed-on: https://git.vergara.tech///Vergara_Tech/zenith/pulls/104
Co-authored-by: pitmutt <rene@vergara.network>
Co-committed-by: pitmutt <rene@vergara.network>
2024-11-21 15:39:18 +00:00

15 lines
415 B
Haskell

{-# LANGUAGE OverloadedStrings #-}
module ZenScan where
import Control.Monad.Logger (runNoLoggingT)
import Data.Configurator
import Zenith.Scanner (rescanZebra)
main :: IO ()
main = do
config <- load ["zenith.cfg"]
dbFilePath <- require config "dbFilePath"
zebraPort <- require config "zebraPort"
zebraHost <- require config "zebraHost"
runNoLoggingT $ scanZebra 2762066 zebraHost zebraPort dbFilePath