-
Notifications
You must be signed in to change notification settings - Fork 17
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
Conversation
@@ -147,7 +147,7 @@ shared ({ caller = installer }) actor class Main() { | |||
await canister.eth_getTransactionCount( | |||
ethMainnetSource, | |||
{ | |||
address = "0xdAC17F958D2ee523a2206206994597C13D831ec7"; | |||
address = "0x1789F79e95324A47c5Fd6693071188e82E9a3558"; |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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).
Includes Alchemy in the list of built-in RPC services.