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

Make changes required by gmp api. #262

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Make changes required by gmp api. #262

wants to merge 5 commits into from

Conversation

dvc94ch
Copy link
Contributor

@dvc94ch dvc94ch commented Oct 14, 2024

  • mnemonic instead of keyfile
  • balance takes an address
  • static lifetime finalized block stream

dvc94ch and others added 4 commits October 6, 2024 11:44
- mnemonic instead of keyfile
- balance takes an address
- static lifetime finalized block stream
@@ -53,6 +58,8 @@ pub enum Blockchain {
Avalanche,
/// Base
Base,
/// Anvil

Choose a reason for hiding this comment

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

Anvil is not a blockchain. I'd better leave the connector as is, and make required changes in evm backend, specifically here to pass in a private key

| Blockchain::Avalanche => {
let private_key = if blockchain == Blockchain::Anvil {
Some(hex_literal::hex![
"ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"

Choose a reason for hiding this comment

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

no please dont

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.

4 participants