Skip to content

update RPC communication to use :8551 and JWT token #168

@donpdonp

Description

@donpdonp

Running geth 1.12.1, the http user/pass is gone and --authrpc.jwtsecret /tmp/jwtsecret is used instead. This unfortunately makes eth-cli useless for a local geth server. The update looks simple, add a Authorization: Bearer $TOKEN header to the rpc request.

https://github.com/jwasinger/geth-jwt-example/blob/master/curl_example.sh

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