Skip to content

Commit 5d9a1df

Browse files
committed
V7.2.0
1 parent 3de6b4b commit 5d9a1df

147 files changed

Lines changed: 2773 additions & 1459 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 7.2.0
2+
3+
- Update dependencies.
4+
15
## 7.1.0
26

37
- Update dependencies.

example/lib/bitcoin_cash/burn_token_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void main() async {
1010
"wss://chipnet.imaginary.cash:50004");
1111

1212
/// create provider with service
13-
final provider = ElectrumProvider(service);
13+
final provider = BitcoinProvider(service);
1414

1515
/// initialize private key
1616
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/create_cash_token_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() async {
1111
"wss://chipnet.imaginary.cash:50004");
1212

1313
/// create provider with service
14-
final provider = ElectrumProvider(service);
14+
final provider = BitcoinProvider(service);
1515

1616
/// initialize private key
1717
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/create_nft_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() async {
1111
"wss://chipnet.imaginary.cash:50004");
1212

1313
/// create provider with service
14-
final provider = ElectrumProvider(service);
14+
final provider = BitcoinProvider(service);
1515

1616
/// initialize private key
1717
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/make_vout0_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() async {
1212
await ElectrumSSLService.connect("chipnet.imaginary.cash:50002");
1313

1414
/// create provider with service
15-
final provider = ElectrumProvider(service);
15+
final provider = BitcoinProvider(service);
1616

1717
/// initialize private key
1818
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/minting_nft_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() async {
1111
await ElectrumWebSocketService.connect("wss://tbch4.loping.net:62004");
1212

1313
/// create provider with service
14-
final provider = ElectrumProvider(service);
14+
final provider = BitcoinProvider(service);
1515

1616
/// initialize private key
1717
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/old_examples/old_example.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ void _spendFrom2P2SHAnd2P2PKHAddress() async {
127127

128128
/// Create a UTXO using a BitcoinUtxo with specific details
129129
utxo: BitcoinUtxo(
130+
blockHeight: 0,
131+
130132
/// Transaction hash uniquely identifies the referenced transaction
131133
txHash:
132134
"fffd7bd09acdf87d383bb60d698f170fc4c3e74ebf50700e3724ae9a566d1b9b",
@@ -273,6 +275,8 @@ void _spendFrom2P2SHAnd1P2PKHAddress() async {
273275

274276
/// Create a UTXO using a BitcoinUtxo with specific details
275277
utxo: BitcoinUtxo(
278+
blockHeight: 0,
279+
276280
/// Transaction hash uniquely identifies the referenced transaction
277281
txHash:
278282
"ece972a6d5d1b07062ed5aaab786b528b04a3cf675affdda8cb79ec805c53ce2",
@@ -293,6 +297,8 @@ void _spendFrom2P2SHAnd1P2PKHAddress() async {
293297
address: childKey1PublicKey.toP2pkInP2sh())),
294298
UtxoWithAddress(
295299
utxo: BitcoinUtxo(
300+
blockHeight: 0,
301+
296302
/// Transaction hash uniquely identifies the referenced transaction
297303
txHash:
298304
"ece972a6d5d1b07062ed5aaab786b528b04a3cf675affdda8cb79ec805c53ce2",
@@ -313,6 +319,8 @@ void _spendFrom2P2SHAnd1P2PKHAddress() async {
313319
address: childKey1PublicKey.toP2pkhInP2sh())),
314320
UtxoWithAddress(
315321
utxo: BitcoinUtxo(
322+
blockHeight: 0,
323+
316324
/// Transaction hash uniquely identifies the referenced transaction
317325
txHash:
318326
"ece972a6d5d1b07062ed5aaab786b528b04a3cf675affdda8cb79ec805c53ce2",
@@ -333,6 +341,8 @@ void _spendFrom2P2SHAnd1P2PKHAddress() async {
333341
address: examplePublicKey.toAddress())),
334342
UtxoWithAddress(
335343
utxo: BitcoinUtxo(
344+
blockHeight: 0,
345+
336346
/// Transaction hash uniquely identifies the referenced transaction
337347
txHash:
338348
"ece972a6d5d1b07062ed5aaab786b528b04a3cf675affdda8cb79ec805c53ce2",

example/lib/bitcoin_cash/p2sh32_spend_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() async {
1212
"wss://chipnet.imaginary.cash:50004");
1313

1414
/// create provider with service
15-
final provider = ElectrumProvider(service);
15+
final provider = BitcoinProvider(service);
1616

1717
/// initialize private key
1818
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/send_ft_token_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() async {
1111
"wss://chipnet.imaginary.cash:50004");
1212

1313
/// create provider with service
14-
final provider = ElectrumProvider(service);
14+
final provider = BitcoinProvider(service);
1515

1616
/// initialize private key
1717
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

example/lib/bitcoin_cash/transfer_bch_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() async {
1212
"wss://chipnet.imaginary.cash:50004");
1313

1414
/// create provider with service
15-
final provider = ElectrumProvider(service);
15+
final provider = BitcoinProvider(service);
1616

1717
/// initialize private key
1818
final privateKey = ECPrivate.fromBytes(BytesUtils.fromHexString(

0 commit comments

Comments
 (0)