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

feat: add Alchemy to RPC service list #121

Merged
merged 6 commits into from
Jan 9, 2024
Merged

feat: add Alchemy to RPC service list #121

merged 6 commits into from
Jan 9, 2024

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Jan 8, 2024

Includes Alchemy in the list of built-in RPC services.

@@ -147,7 +147,7 @@ shared ({ caller = installer }) actor class Main() {
await canister.eth_getTransactionCount(
ethMainnetSource,
{
address = "0xdAC17F958D2ee523a2206206994597C13D831ec7";
address = "0x1789F79e95324A47c5Fd6693071188e82E9a3558";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI was occasionally running into request size limits for BlockPI, so this adjusts the test to use a less active smart contract address (ckStagingETH instead of ckETH).


// Limited API credentials for local testing.
// Use `dfx canister call evm_rpc updateProvider ...` to pass your own keys.
pub const ALCHEMY_ETH_MAINNET_CREDENTIAL: &str = "/v2/zBxaSBUMfuH8XnA-uLIWeXfCx1T8ItkM";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that these API keys are intended as defaults for local dev environments (separate from the production keys).

@rvanasa rvanasa merged commit b128d38 into main Jan 9, 2024
3 checks passed
@rvanasa rvanasa deleted the alchemy branch January 9, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants