Use address validation
This commit is contained in:
parent
c4fc57c0b7
commit
3e4aaf647c
4 changed files with 26 additions and 13 deletions
|
@ -28,7 +28,8 @@ import qualified Data.Text.IO as TIO
|
||||||
import qualified Data.Vector as V
|
import qualified Data.Vector as V
|
||||||
import Data.Word
|
import Data.Word
|
||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
import Zcash
|
import ZcashHaskell.Orchard (isValidUnifiedAddress)
|
||||||
|
import ZcashHaskell.Sapling (isValidShieldedAddress)
|
||||||
|
|
||||||
{-import Haskoin.Address.Bech32-}
|
{-import Haskoin.Address.Bech32-}
|
||||||
import Network.HTTP.Simple
|
import Network.HTTP.Simple
|
||||||
|
|
|
@ -31,7 +31,7 @@ resolver: lts-20.16
|
||||||
packages:
|
packages:
|
||||||
- .
|
- .
|
||||||
#- haskoin-core
|
#- haskoin-core
|
||||||
- zcash-haskell
|
#- zcash-haskell
|
||||||
# Dependency packages to be pulled from upstream that are not in the resolver.
|
# Dependency packages to be pulled from upstream that are not in the resolver.
|
||||||
# These entries can reference officially published versions as well as
|
# These entries can reference officially published versions as well as
|
||||||
# forks / in-progress versions pinned to a git hash. For example:
|
# forks / in-progress versions pinned to a git hash. For example:
|
||||||
|
@ -43,6 +43,8 @@ packages:
|
||||||
#
|
#
|
||||||
# extra-deps: []
|
# extra-deps: []
|
||||||
extra-deps:
|
extra-deps:
|
||||||
|
- git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
|
||||||
|
commit: fef3d3af35a09db718cddb8fc9166b2d2691a744
|
||||||
- git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git
|
- git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git
|
||||||
commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05
|
commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05
|
||||||
- git: https://github.com/reach-sh/haskell-hexstring.git
|
- git: https://github.com/reach-sh/haskell-hexstring.git
|
||||||
|
|
|
@ -4,6 +4,17 @@
|
||||||
# https://docs.haskellstack.org/en/stable/lock_files
|
# https://docs.haskellstack.org/en/stable/lock_files
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
- completed:
|
||||||
|
commit: fef3d3af35a09db718cddb8fc9166b2d2691a744
|
||||||
|
git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
|
||||||
|
name: zcash-haskell
|
||||||
|
pantry-tree:
|
||||||
|
sha256: ec7782cf2646da17548d59af0ea98dcbaac1b6c2176258c696a7f508db6dbc21
|
||||||
|
size: 1126
|
||||||
|
version: 0.1.0
|
||||||
|
original:
|
||||||
|
commit: fef3d3af35a09db718cddb8fc9166b2d2691a744
|
||||||
|
git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
|
||||||
- completed:
|
- completed:
|
||||||
commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05
|
commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05
|
||||||
git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git
|
git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1261a585e6f775049e772bccae55233a9fa04b05
|
|
Loading…
Reference in a new issue