0.0.65 • Published 11 months ago

@eltk/staking-sdk v0.0.65

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Elektrik Staking SDK

The Elektrik Staking SDK provides a set of classes for interacting with various smart contracts related to staking and governance on the Elektrik platform.

Features

  • StakerWallet: Provides methods for obtaining an ethers signer from MetaMask or a private key.
  • ElektrikToken: Allows interaction with the Elektrik token contract, including methods for checking balance, allowance, and approving token transfers.
  • Locking: Facilitates staking operations, such as approving staking, checking allowance, creating locks, and retrieving balances.
  • Staking: Enables interaction with the Staker smart contract, including methods for approving staking, checking allowance, setting receivers, and initiating staking processes.

Classes

  1. StakerWallet: Provides methods for obtaining ethers signers. examples.md
  2. ElektrikToken: Allows interaction with the Elektrik token contract. examples.md
  3. Locking: Facilitates staking operations. examples.md
  4. Staking: Enables interaction with the Staker smart contract. examples.md

Example Usage

For example usage of each class, refer to the examples.md file.

Installation

npm install @eltk/staking-sdk

Usage

import { StakerWallet, ElektrikToken, Locking, Staking } from "elektrik-staking-sdk";

// Example usage of each class

Documentation

For detailed documentation and API reference, see the API Documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.0.40

1 year ago

0.0.41

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.44

1 year ago

0.0.45

1 year ago

0.0.46

1 year ago

0.0.47

1 year ago

0.0.39

1 year ago

0.0.63

11 months ago

0.0.64

11 months ago

0.0.65

11 months ago

0.0.60

11 months ago

0.0.59

11 months ago

0.0.51

11 months ago

0.0.52

11 months ago

0.0.53

11 months ago

0.0.54

11 months ago

0.0.56

11 months ago

0.0.57

11 months ago

0.0.58

11 months ago

0.0.50

1 year ago

0.0.48

1 year ago

0.0.49

1 year ago

0.0.37

1 year ago

0.0.36

1 year ago

0.0.35

1 year ago

0.0.34

1 year ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.31

1 year ago

0.0.25

1 year ago

0.0.30

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.22

1 year ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.14

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.1.0

1 year ago