wemeetagain / lodestar-deposit-test

lodestar library demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lodestar-deposit-test

npm i
npm run start

This is a simple example of lodestar library usage. This demo creates a validator private key, creates a deposit message, and signs it.

This shows the following functionality:

  • creating a validator key from mnemonic
  • creating a browser-compatible signer, signing a message
  • creating a signing root, which relies on loading a chain config
  • interacting with ssz types

License

MIT

About

lodestar library demo


Languages

Language:TypeScript 100.0%