web3dart
web3dart copied to clipboard
Polygon main and test net address?
I read through the docs but I wasn't clear on whether I can just use various RPC URLs across the different EVM chains.
I don't see how to specify url and chain is. Is this just for Ethereum and named chains like rinkby?
Or are you using infura API to do so since the API incorporates the chain RPC and chain ID
And I assume it's only infura not moralis as well?
Will the private keys be compatible with more popular wallets like MetaMask. So someone once creating in the flutter app could then also manage on MetaMask by adding the private keys to MetaMask?
@timfong888 You can use any EVM chain you want just add the custom RPC and Optional WS Urls. Additionally, some functions require the chainId, while for some you have to turn it off. I'll see if I can find it and flag it.
@xclud do you plan on making any updates to the library? My fork already has a bunch of umerged changes since the previous author neglected to respond
@timfong888
Sorry for my late response. There is a Web3Client
constructor which takes a url as the RPC server.
@TheGreatAxios Contributions are welcome. Please submit PRs.