Nethereum.UI.Wallet.Sample icon indicating copy to clipboard operation
Nethereum.UI.Wallet.Sample copied to clipboard

No option to send ETH / Token Transfer Requires Signing

Open odapplications opened this issue 6 years ago • 1 comments

Hello I am testing your code, however there are some issues. I see the testnet / rospen is being used however there are some issues testing the transactions.

Error Unable to transfer token: Account not configured for signing transactions.

How do I do this?

Additionally I have noticed that accounts are loaded based on information built within the code.

How can a new account be generated for users at the start of the application and then use this account information for the user instead of the preset 3 accounts?

odapplications avatar May 19 '19 09:05 odapplications

I found this in Netherum.Wallet -> TransactionSenderService.cs

private Web3.Web3 GetWeb3(string accountAddress) { var privateKey = _accountKeySecureStorageService.GetPrivateKey(accountAddress); if(privateKey == null) throw new Exception("Account not configured for signing transactions"); //todo chainId return new Web3.Web3(new Account(privateKey), _walletConfigurationService.ClientUrl); } }

I can guess that this is still under development. As the passing of private key is still "todo"

odapplications avatar May 19 '19 10:05 odapplications