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

Balance of erc20 token on polygon #5

Open
timfong888 opened this issue May 30, 2022 · 3 comments
Open

Balance of erc20 token on polygon #5

timfong888 opened this issue May 30, 2022 · 3 comments

Comments

@timfong888
Copy link

Hi, I am reading the docs to see if we can generate on mobile flutter app a public address.

That public address would receive an airdrop erc20 polygon token.

The mobile app displays the erc20 balance.

But it's polygon. It seems that as long as we add the correct RPC we can do this but wanted to confirm because wasn't fully clear when reading docs.

Thanks.

@MuTe33
Copy link

MuTe33 commented May 31, 2022

You should be able to interact with the polygon chain by changing the RPC address

@timfong888
Copy link
Author

Thanks. So the api url can be the RPC url? But I also need to add a chain ID and I don't see a method or function for this. How do I add this?

@MuTe33
Copy link

MuTe33 commented Jun 7, 2022

within the RPC url you already define whether it is mainnet or any other testnet. The chain ID specificaly you set on the transaction call if I rememeber correctly

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

2 participants