Skip to content

LimeChain/avalanche-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avalanche-client

A Rust client for Avalanche based on avalanche-rs

Client Capabilities

At the moment, the client can:

  • Establish TLS connection to a local peer
  • Compose and send Version message
  • Receive and validate the peer's Version message
  • Receive and deserialize PeerList message
  • Listen and decode other inbound network messages(no message handlers have been implemented yet)

At some point, the client won't respond to the Ping message and the peer will disconnect.

Running Locally

To run the client locally, you'll need to have a local avalanchego(v1.10.11) node running. You can see how to run such a node here.

Note that the README requires you to have go version 1.20.8 or higher, but it actually doesn't build with 1.20.8 and with 1.21.x so your version needs to be: 1.20.10 <= GO_VERSION < 1.21.0

Change the first mainnet in genesis/bootstrappers.json to have the localhost address 127.0.0.1:9651, you can then run cargo run to run the Rust client in debug mode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages