Back to All

creating a provider for Amoy?

Hi all,

How can we create a provider for the Amoy with "alchemy-sdk": "^2.3.1", Something like ...
This question is related with the question below.
https://docs.alchemy.com/discuss/62fb458c95bee000365755ab

const netObj = {
// name: 'polygon-amoy',
name: 'maticamo',
chainId: 80002
}
const provider = new ethers.providers.AlchemyProvider(netObj, apiKey);

Thanks

Akira

ReadMe