Skip to content

Invalid version or Network mismatch #22

@Merrick17

Description

@Merrick17

Hello I am Trying to create a Transaction , but i always get the error Invalid version or Network mismatch i am using testnet adresses this is my log..
Bitcoin Adress moZ3hBUMbu5pFaodrsLCKg76U53NdmDVqc
Bitcoin Second Address muYEstcvt7ZyLUv6DRXNX592NF7RGSUEAo
Unhandled exception:
Invalid argument(s): Invalid version or Network mismatch
#0 P2PKH._getDataFromAddress (package:bitcoin_flutter/src/payments/p2pkh.dart:87:7)
#1 P2PKH._init (package:bitcoin_flutter/src/payments/p2pkh.dart:22:7)
#2 new P2PKH (package:bitcoin_flutter/src/payments/p2pkh.dart:18:5)
#3 addressToOutputScript (package:bitcoin_flutter/src/transaction_builder.dart:286:11)
#4 TransactionBuilder.addOutput (package:bitcoin_flutter/src/transaction_builder.dart:71:22)
#5 CreateWallet.generateTransaction (file:///home/safouene/crypto_test/main.dart:152:11)
#6 main (file:///home/safouene/crypto_test/main.dart:178:8)
#7 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
#8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions