We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to get account using below code but I am not getting account so please help.
var router = NetworkingRouter(RPCEndpoint.devnetSolana) var account: Account? = null var solana = Solana(router, auth = object : SolanaAccountStorage{ override fun save(account1: Account): Result { account = account1 Log.d("Account Publik key", account?.publicKey.toString()) Log.d("Account Secrect key", account?.secretKey.toString()) return Result.success(Unit) }
override fun account(): Result<Account> { Log.d("Account ", "Account") account?.let { return Result.success(account!!) } return Result.failure(Throwable("")) } override fun clear(): Result<Unit> { Log.d("Account ", "Account Clear") account = null return Result.success(Unit) } })
The text was updated successfully, but these errors were encountered:
have you make it work?
Sorry, something went wrong.
No branches or pull requests
I am trying to get account using below code but I am not getting account so please help.
var router = NetworkingRouter(RPCEndpoint.devnetSolana)
var account: Account? = null
var solana = Solana(router, auth = object : SolanaAccountStorage{
override fun save(account1: Account): Result {
account = account1
Log.d("Account Publik key", account?.publicKey.toString())
Log.d("Account Secrect key", account?.secretKey.toString())
return Result.success(Unit)
}
The text was updated successfully, but these errors were encountered: