cabal-version: 2.4
name: bitcoin-address
version: 0.1
license: Apache-2.0
license-file: LICENSE
extra-source-files: README.md CHANGELOG.md
author: Renzo Carbonara
maintainer: renλren.zone
copyright: Copyright (c) Renzo Carbonara 2020
category: Cryptography
build-type: Simple
synopsis: Bitcoin address generation and rendering. Parsing coming soon.
description:
Bitcoin address generation and rendering. Parsing coming soon.
.
This library builds in GHC and GHCJS.
homepage: https://gitlab.com/k0001/hs-bitcoin-address
bug-reports: https://gitlab.com/k0001/hs-bitcoin-address/issues
tested-with: GHC == 8.8.3, GHC == 8.6.5, GHCJS == 8.6.0
common basic
default-language: Haskell2010
ghc-options: -O2 -Wall -Werror=incomplete-patterns
ghcjs-options: -O3 -Wall -Werror=incomplete-patterns
build-depends:
base == 4.*,
bitcoin-keys,
bitcoin-script,
bytestring,
default-extensions:
DerivingStrategies
GeneralizedNewtypeDeriving
LambdaCase
OverloadedStrings
library
import: basic
hs-source-dirs: lib
exposed-modules:
Bitcoin.Address
Bitcoin.Address.Hash
Bitcoin.Address.Internal
Bitcoin.Address.Settings
Bitcoin.Address.Script
Bitcoin.Address.SegWit
build-depends:
base58-bytestring,
bech32,
binary,
bitcoin-hash,
text,
test-suite test
import: basic
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base16-bytestring,
hedgehog,
bitcoin-address,
tasty,
tasty-hedgehog,
tasty-hunit,