vocdoni / census3

Golang library and a HTTP/API service that can be used to fetch an updated list of token holders for a Ethereum ERC20, ERC721, ERC777, or other external providers (ex. POAPs or GitcoinPassport).
GNU Affero General Public License v3.0
9 stars 2 forks source link

Add the support for Base #85

Closed jpaulet closed 9 months ago

jpaulet commented 1 year ago

For the plugin, we need support for Base Network. Try to add this RPC and test the new census in this network.

lucasmenendez commented 1 year ago

I've done some tests and any issue found with Goerli Base support.

I've tested the following contracts:

I also deployed a ERC20 contract for testing (0xC25A8618c75Dc59003208424241f926dbaEd3A0d) and I've done an airdrop with some of this tokens to the same addresses that our ERC20 test contract on Ethereum Goerli (0xf530280176385af31177d78bbfd5ea3f6d07488a).

Some of our production web3 RPC endpoints are provided by Infura and this provider only supports Base Goerli, and does not Base Mainnet. Others providers such as QuickNode or Anker do.

jpaulet commented 1 year ago

Ok, let's talk next week then, to plan what to do with "Base Mainnet".

lucasmenendez commented 1 year ago

Infura (our current web3 endpoint provider), does not officially support Base Mainnet, but they have experimental support, so will probably they give official support for this chain.

On the other hand, it seems that the Aragon OSx App does not yet support Base Mainnet, so we do not need to include support for this chain at this time.

lucasmenendez commented 1 year ago

Official RPC endpoints: https://docs.base.org/using-base/