Skip to content

Question: How do I prepare .env ? #24

Description

@jb747

The web instructions and the readme for this repo ask for:

  1. 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"?

  2. 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 :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions