Skip to content

Add support to f4 addresses in forest-wallet #5766

@elmattic

Description

@elmattic

Summary

Currently, f4 addresses are not supported as a from address (e.g., t410fsn4lkc7sdz3xcxizsmrgxqjas2564j7q6rukxya is the default) in forest-wallet send subcommand:

./forest-wallet send "t410fsn4lkc7sdz3xcxizsmrgxqjas2564j7q6rukxya" "500 afil"
Error: ErrorObject { code: InternalError, message: "invalid methodnum 0: only allowed method is InvokeContract(3844450837)", data: None }

Caused by:
ErrorObject { code: InternalError, message: "invalid methodnum 0: only allowed method is InvokeContract(3844450837)", data: None }

Requirements

We should support sending from f4 addresses as well, similar to how the Lotus wallet handles it.

Motivation

When interacting with the Ethereum API, we usually use f4 addresses.

Metadata

Metadata

Assignees

Labels

Type: RequestRequests to implement features or make other changes

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions