Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout Celo addition from the Kolektivo repo #761

Open
2 tasks done
hiaux0 opened this issue Aug 30, 2022 · 2 comments
Open
2 tasks done

Checkout Celo addition from the Kolektivo repo #761

hiaux0 opened this issue Aug 30, 2022 · 2 comments
Assignees

Comments

@hiaux0
Copy link
Contributor

hiaux0 commented Aug 30, 2022

@giladt
Copy link
Contributor

giladt commented Sep 7, 2022

Networks:

  • Mainnet: Celo
  • Testnet: Alfajores

Endpoints:

WalletConnect config:

walletconnect: {
 package: WalletConnectProvider, // required
 options: {
   rpc: {
     CELO_MAINNET_CHAIN_ID: this.endpoints[Networks.Celo],
     CELO_ALFAJORES_CHAIN_ID: this.endpoints[Networks.Alfajores],
   },
 },
},

Celo-Tools

https://www.npmjs.com/package/@celo-tools/celo-ethers-wrapper
CeloProvider is a wrapper that enables Ethersjs to work with the Celo network. Specific for launch it might solve the getBlock workaround, since Celo is not supporting gasLimit.
It is implemented to create the readOnlyProvider in EthereumService.

Quick test to implement Celo-Tools in prime-launch ended with an error:

this.readOnlyProvider = new CeloProvider(...);

image.png

@giladt
Copy link
Contributor

giladt commented Sep 7, 2022

Other than the use of Celo-Tools, no significant differences were found in the implementation of the Celo network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants