Skip to content

how to local velas network connect metamask? #429

Description

@mikewang68

Problem

I setup a local velas network , step follow
./setup.sh
./faucet.sh
./bootstrap-validator --allow-private-address

then run:
evm-bridge ~/my-wallet/my-keypair.json http://192.168.1.167:8899 192.168.1.167:8545 57005

metamask config:
network: local
new rpc: http://192.168.1.167:8545
chainID: 57005

when i run:
velas evm transfer-to-evm 0x245656B176b487524AA5639164f2322f29131C50 1 (0x2456.... is my metamask address)

output:
Transaction signature = mhyP3fxoeezVWALs7Nd49X5a6aRCmTUwkvePiLsvENuhttu1Fs7u8KM1G4F4vR7Dg7raMiNx1oHjni5Loy9mea2
Ok

that means transcation is successful

so run:
curl --data '{"method":"eth_getBalance","params":["0x245656B176b487524AA5639164f2322f29131C50"],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST 192.168.1.167:8545

output:
{"jsonrpc":"2.0","result":"0xae56f730e6d840000","id":1}

but metamask account 0x2456.... is nothing , value is 0 .

i want to know why ? how to resolve ?

Is there something wrong between evm-bridge and metamask ?

Thank you

Proposed Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions