Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option to send ETH / Token Transfer Requires Signing #9

Open
odapplications opened this issue May 19, 2019 · 1 comment
Open

No option to send ETH / Token Transfer Requires Signing #9

odapplications opened this issue May 19, 2019 · 1 comment

Comments

@odapplications
Copy link

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
Copy link
Author

odapplications commented May 19, 2019

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant