Digine-Labs / rosettanet

Ethereum <> Starknet RPC middleware.
MIT License
34 stars 27 forks source link

feat: Implement `eth_accounts` method #128

Closed ermvrs closed 1 month ago

ermvrs commented 1 month ago

Description

Reference: https://docs.infura.io/api/networks/ethereum/json-rpc-methods/eth_accounts

Will return the exact same response that Infura returns. We won't store users' private keys as well. So eth_sendTransaction can't be implemented, too. We follow the exact same approach as Infura did.

Requirements

Unit tests have to be implemented. Do not change the existing type structure Tests must have non-existent transaction results as well.

Completion Time

The issue is assumed to be completed in 3 days.

ermvrs commented 1 month ago

Completed https://github.com/keep-starknet-strange/rosettanet/pull/129