Exception occurs when using getSupportedCoins in Platform SDK

Hi,
Please find the complete sample project here.

Hey,
Could you find any way out?

Hi,
Use web3j library as it has been recemmended in guide.

// web3j
implementation 'org.web3j:core:4.2.0-android'

Hey,
Thanks a lot. It works now.

Hi @M_A_Hasan_Molla ,
So there’s one more thing that I need to ask. I have STORJ tokens in my Keystore wallet. Which function should I use to perform transaction through those?

Hi,

I hope STORJ is a erc-20 token. If so then follow the instructions bellow.

First use addTokenAddress to add your token. After successfully added token with your application then use sendTokenTransaction to transfer token to another account.

You can find the code in programming guide.

I thought of taking up this procedure earlier but I was confused about which address to use to add the token address since the address that I see for Ethereum and STORJ is the same(probably it is the wallet/account address). Or is there any other address, for the tokens, that is retrieved using some other way?

Hi,

Download API Reference(JavaDoc) from here and open it with any browser.

You will find detail explanation of parameters that are used in any API signature.

Thankyou @M_A_Hasan_Molla,

May I know the difference between toAddress and toContractAddress that can be seen in the following snap?
Screenshot 2020-03-13 at 11.53.57 AM

Also, where can I get these addresses from?

Hi,

toAddress is an ethereum account address. It is address of another person to whom you want to send token. You can also use you own account address, ethereum also allow that.

toContractAddress is the address of the token. In your case for STORJ(I hope this the token that you are using for development, if not then find your token in etherscan), go to the link and you will find this address(0xb64ef51c888972c908cfacf59b47c1afbc0ab8ac) under name tag contract.

Hi,
There are some answer of Samsung’s Project Risk Management Strategy Evolution

Hi,

As I referenced above, I don’t have an actual admittance to a SDK supporting gadget nor am I ready to run a relating emulator because of unsupported port 2600 in India. Along these lines, I don’t get the log document that you referenced. Maybe, I’m trying my code on a far off gadget in US by running the APK(whose connect I shared before).

Without a doubt, you could test the code. I can share the total task containing the gradle and xml records both, in the event that you say.