The Rocket Pool JavaScript Library

Introduction

The Rocket Pool JavaScript library is the primary means of interacting with the Rocket Pool network for users and applications. It is used by applications such as the Rocket Pool website to retrieve information about the network and facilitate user interaction such as deposits and withdrawals. It provides wrapper methods which load the Rocket Pool contracts with web3.js and abstractions to use many of their features easily.

This guide assumes familiarity with JavaScript and provides all code samples as JS.