Closed vlsilver closed 2 years ago
Yes. Sorry, the docs are a little ahead of the code. The builder and the blockfrost publish code need a few more days to push this over the finish line. Check back on Monday.
Thanks a lot . I am still waiting for a resolution from you for this issue.
Transaction submits now work!
This library does not support signing transactions yet ? I have read the implementation of the sendAda method:
@override Future<Result<RawTransaction, String>> sendAda( {required ShelleyAddress toAddress, required int lovelaceAmount}) async { if (lovelaceAmount > balance) { return Err('insufficient balance'); } if (toAddress.addressType != AddressType.Base) { return Err('only base shelley addresses currently supported'); } if (toAddress.hrp != 'addr' && toAddress.hrp != 'addr_test') { return Err("not a valid shelley external addresses, expecting 'addr' or 'addr_test' prefix"); } final builder = TransactionBuilder().send(shelleyAddress: toAddress, lovelace: lovelaceAmount); //TODO calculate, fee, make change, sign and send return Err('not yet implmented'); }