LogoLogo
DashboardBlogNode API DocsContact
  • Staking
    • Overview
    • FAQ
  • Ethereum
    • Staking Tutorial
      • API
        • Prerequisites
        • Authenticating with Auth0
        • Setting up a Wallet
        • Get Staking Transaction
        • Signing a Transaction
        • Broadcast Transaction
        • Full Code
    • Staking API Reference
      • Authentication
      • Get Validators
      • Stake Transaction
      • Broadcast Transaction
      • Exit Validators
      • Presigned Exit Request
Powered by GitBook
On this page
  • NodeJS and NPM Packages
  • Wallet Key
  • Auth0 Client ID and Client Secret
  1. Ethereum
  2. Staking Tutorial
  3. API

Prerequisites

Preparing your environment

This setup requires having Node.js, installing some packages and exporting environment variables needed to authenticate and pay for the Ethereum deposit.

NodeJS and NPM Packages

  • ethers

  • auth0

npm install ethers
npm install auth0

Wallet Key

  • The private key associated with your wallet, loaded up with 32 ETH, or more, to create at least 1 validator

  • Note: If ETH mainnet, we do not recommend using a plain text private key.

Auth0 Client ID and Client Secret

  • For now, please reach out via our contact form to retrieve these credentials for your account

After obtaining Validation Cloud Client ID and Secret. You can export the environment variables needed for the subsequent code steps.

PreviousAPINextAuthenticating with Auth0

Last updated 1 year ago