Open jb747 opened 3 months ago
This 3rd party tutorial shows how to connect a Metamask wallet to a polygon Mumbai testnet (they use https://rpc-mumbai.maticvigil.com/) and add Matic from a faucet. Another 3rd party tutorial shows how to get a public address for the wallet. I don't know whether this wallet is suitable to test your sdk, though.
I have gone through the Quick Start Demo successfully. The iOS Polygon ID wallet app worked well. There is a Recipient DID, but there was no mention of a hex wallet key or a Matic balance.
A Polygon ID wallet cannot hold Matic so perhaps the .env.example settings refer to a second wallet, like Metamask, capable of holding funds. Seems worth a try...
The web instructions and the readme for this repo ask for:
the RPC_URL for a/the polygon Mumbai network rpc node There is no RPC_URL in .env.example. There is a THIRD_PARTY_RPC_URL, though. What is required and where does one get it? I can get a list of polygon MumbaiRPC server addresses, but I am unsure which, if any, is suitable and what setting to use. Perhaps "https://polygon-mumbai-bor-rpc.publicnode.com"?
WALLET_KEY I have tried both the iOS app and browser extension demo. The closest I get to a key is an "Polygon Account"/"My Identity" identifier of the form "did:polygonid:polygon:mumbai:" followed by 42 alphanumeric characters. The comment in the .env.example file indicates that it wants "key in hex format with matic balance". I assume that the test performs actions which, even on a testnet, consume Matic? If so, I'm not sure how to add Matic to either wallet. I'm also unsure how I can find/generate the requested hex key. Perhaps I should be using another wallet?
Probably FAQs.. at this point I'm new to this :).