mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
CLI with ARK Sdk (#307)
* Export new methods * Use sdk in CLI * pr review refactor * go sync * Fixes * run integration test on every change * fixes * go sync * fix * Persist explorer url * Fix decoding bitcoin address * Add missing timeout to e2e test * Fix * Fixes --------- Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
This commit is contained in:
@@ -28,11 +28,12 @@ type ArkClient interface {
|
||||
Claim(ctx context.Context) (string, error)
|
||||
ListVtxos(ctx context.Context) ([]client.Vtxo, []client.Vtxo, error)
|
||||
GetTransactionHistory(ctx context.Context) ([]Transaction, error)
|
||||
Dump(ctx context.Context) (seed string, err error)
|
||||
}
|
||||
|
||||
type Receiver interface {
|
||||
To() string
|
||||
Amount() uint64
|
||||
|
||||
isOnchain() bool
|
||||
IsOnchain() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user