Giter Club home page Giter Club logo

cardano_wallet_sdk's People

Contributors

reaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cardano_wallet_sdk's Issues

Update method no longer updates wallet balance

This seems to be an issue with the latest release. After a transaction, calling the wallet's update method updates the transaction history of the wallet but the balance remains the same. It only changes after the app is restarted and/or wallet is rebuilt from keys again.

Assets property of a wallet showing assets that were part of UTXOs but not actually in the wallet

The assets property of the wallet class returns assets that were part of a transaction but not actually sent. An example would be sending 100 ADA from a wallet-A that has 2000 Hosky tokens to wallet-B that is empty(0 ADA, no assets). After the transaction, when you try checking the assets in wallet-B you find Hosky tokens. Although when you check the address on cardanoscan or pool.pm it shows just the ADA in wallet-B(which is how it should be).

Cached wallets not persisted after app relaunch

Hi, how long are the cached wallets supposed to persist? I was thinking until they're cleared or if I uninstall the app but that's not the case. I lose all my cached wallets with every app restart.

Trying to restore a wallet on mainnet

Hi, i'm trying to restore a mainnet wallet but I keep getting this error
"The human readable part is mixed case, should either be all lower or all upper case: Ddz...."
The Ddz... looks like one of the addresses associated with this wallet.

Rootsigningkey duplicates

When you create more than one wallet, all subsequent wallets created end up having the same Bip32SigningKey rootSigningKey as the first wallet.

MissingVKeyWitnessesUTXOW

After sending and receiving ADA, the next send transactions will fail with the following error message:

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Exception: 400: Bad Request: {"error":"Bad Request","message":"\"transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash \\\"e33b0d3ff126938a6849b23e82e4f07c74fef5320f34d9acfc7044f3\\\"]))))])\"","status_code":400}

Building a wallet not async

Hi when I build the wallet the whole app UI freezes. Can you fix the wallet build method so it will be async?

Error Sending Transaction.

When I try sending a transaction, it throws, Error: submit cbor transaction: request is not validBad Request "transaction read error RawCborDecodeError"

Code:

var txResult = await wallet.sendAda(
toAddress: toAddress,
lovelace: ada * BigInt.from(3),
logTx: true,
logTxHex: true);
txResult.when(
ok: (tx) => prints(tx.hashHex),
err: (message) => print("Error: $message"),
);

Need clarifications on how sending TXs work.

Just curious as to how this works since based on my understanding this wallet is not running a node. Correct me if I'm wrong does this work by just serializing a TX, and then using blockfrost.io to do the heavylifting? Just wanted to know because I'm planning to use this as a personal tool to pass ADA around, I want to understand it deeper. Thanks for making this thing! :)

I love this initiative, just let me know if I could do anything to help. And I'm also curious if there's a group for Cardano developers building in Flutter.

Signing transaction

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');
}

Currencies under wallet transactions not descriptive

Hi there, the wallet transaction class has a currencies property that returns a map containing all the currencies in that transaction. The key of this map is a string which I believe is the asset id and its value is the quantity. How am I supposed to know what asset this actually is(ticker, actual name) using just this asset id provided?

https://pub.dev/documentation/cardano_wallet_sdk/latest/cardano_wallet_sdk/WalletTransaction/currencies.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.