/
cardano-client-demo.cabal
114 lines (104 loc) · 3.99 KB
/
cardano-client-demo.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
cabal-version: 3.0
name: cardano-client-demo
version: 0.1.0.0
synopsis: A simple demo cardano-node client application
description: This is intended to demonstrate how to write simple
applications that interact with the cardano-node,
using the cardano-api.
license: Apache-2.0
license-file: LICENSE
author: IOHK
maintainer: operations@iohk.io
license-files:
LICENSE
NOTICE
extra-source-files: CHANGELOG.md
common base { build-depends: base >= 4.14 && < 4.15 }
common project-config
default-language: Haskell2010
executable scan-blocks
import: base, project-config
main-is: ScanBlocks.hs
build-depends: cardano-api
, filepath
, time
executable scan-blocks-pipelined
import: base, project-config
main-is: ScanBlocksPipelined.hs
build-depends: cardano-api
, cardano-ledger-byron
, cardano-slotting
, filepath
, ouroboros-network
, time
, typed-protocols
executable chain-sync-client-with-ledger-state
import: base, project-config
main-is: ChainSyncClientWithLedgerState.hs
build-depends: cardano-api
, cardano-ledger-byron
, cardano-slotting
, ouroboros-consensus
, ouroboros-consensus-cardano
, filepath
, sop-core
, text
, time
, transformers
executable ledger-state
import: base, project-config
main-is: LedgerState.hs
build-depends: aeson,
base16-bytestring,
bytestring,
containers,
filepath,
memory,
mtl,
text,
time,
transformers,
transformers-except,
yaml,
cryptonite,
cardano-api,
cardano-binary,
cardano-crypto-class,
cardano-crypto-wrapper,
cardano-ledger-byron,
cardano-node,
cardano-slotting,
iohk-monitoring,
ouroboros-network,
ouroboros-consensus,
ouroboros-consensus-cardano,
ouroboros-consensus-byron,
ouroboros-consensus-shelley,
cardano-ledger-shelley,
typed-protocols,
executable stake-credential-history
import: base, project-config
main-is: StakeCredentialHistory.hs
ghc-options: -Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
-Wunused-packages
build-depends: base16-bytestring,
binary,
bech32,
bytestring,
cardano-ledger-alonzo,
cardano-api,
cardano-data,
cardano-ledger-core,
cardano-ledger-shelley,
vector-map,
cardano-slotting,
containers,
optparse-applicative,
ouroboros-consensus-shelley,
text,
transformers,