File tree Expand file tree Collapse file tree 5 files changed +11
-13
lines changed
bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit Expand file tree Collapse file tree 5 files changed +11
-13
lines changed Original file line number Diff line number Diff line change
1
+ # Rust related
1
2
target
2
3
build
4
+
5
+ # Kotlin related
3
6
.gradle
4
7
wallet_db
5
8
bdk_ffi_test
@@ -9,13 +12,12 @@ local.properties
9
12
* .so
10
13
.DS_Store
11
14
testdb
12
- xcuserdata
13
15
.lsp
14
16
.clj-kondo
15
17
.idea /
16
18
.editorconfig
17
19
bdk.kt
18
- bitcoin.kt
20
+ .kotlin /
19
21
20
22
# Swift related
21
23
/.build
@@ -35,12 +37,10 @@ bdk.swift
35
37
.build
36
38
* .xcframework /
37
39
Info.plist
38
- BitcoinFFI.h
39
- Bitcoin.swift
40
- BitcoinFFi.modulemap
41
40
bdkffi.xcframework
42
41
Sources /
42
+ xcuserdata
43
43
44
44
# Python related
45
45
__pycache__
46
- bitcoin.py
46
+ .localenvironment /
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import org.junit.runner.RunWith
7
7
import kotlin.test.AfterTest
8
8
import kotlin.test.assertTrue
9
9
import java.io.File
10
- import org.rustbitcoin.bitcoin.FeeRate
11
10
12
11
private const val SIGNET_ESPLORA_URL = " http://signet.bitcoindevkit.net"
13
12
private const val TESTNET_ESPLORA_URL = " https://esplora.testnet.kuutamo.cloud"
Original file line number Diff line number Diff line change 9
9
from bdkpython import TxBuilder
10
10
from bdkpython import Connection
11
11
from bdkpython import Network
12
+ from bdkpython import Amount
13
+ from bdkpython import FeeRate
12
14
13
15
import unittest
14
16
import os
@@ -110,4 +112,4 @@ def complex_tx_builder(self):
110
112
111
113
112
114
if __name__ == '__main__' :
113
- unittest .main ()
115
+ unittest .main ()
Original file line number Diff line number Diff line change 8
8
from bdkpython import TxBuilder
9
9
from bdkpython import Connection
10
10
from bdkpython import Network
11
+ from bdkpython import Amount
12
+ from bdkpython import FeeRate
11
13
12
14
import unittest
13
15
import os
Original file line number Diff line number Diff line change 5
5
6
6
HEADERPATH=" Sources/BitcoinDevKit/BitcoinDevKitFFI.h"
7
7
MODMAPPATH=" Sources/BitcoinDevKit/BitcoinDevKitFFI.modulemap"
8
- HEADERPATH_BITCOIN_FFI=" Sources/BitcoinDevKit/BitcoinFFI.h"
9
- MODMAPPATH_BITCOIN_FFI=" Sources/BitcoinDevKit/BitcoinFFI.modulemap"
10
8
TARGETDIR=" ../bdk-ffi/target"
11
9
OUTDIR=" ."
12
10
RELDIR=" release-smaller"
@@ -46,11 +44,8 @@ cd ../bdk-swift/ || exit
46
44
# move bdk-ffi static lib header files to temporary directory
47
45
mkdir -p " ${NEW_HEADER_DIR} "
48
46
mv " ${HEADERPATH} " " ${NEW_HEADER_DIR} "
49
- mv " ${HEADERPATH_BITCOIN_FFI} " " ${NEW_HEADER_DIR} "
50
47
mv " ${MODMAPPATH} " " ${NEW_HEADER_DIR} /module.modulemap"
51
48
echo -e " \n" >> " ${NEW_HEADER_DIR} /module.modulemap"
52
- cat " ${MODMAPPATH_BITCOIN_FFI} " >> " ${NEW_HEADER_DIR} /module.modulemap"
53
- rm " ${MODMAPPATH_BITCOIN_FFI} "
54
49
55
50
# remove old xcframework directory
56
51
rm -rf " ${OUTDIR} /${NAME} .xcframework"
You can’t perform that action at this time.
0 commit comments