0.0.1 • Published 2 years ago

@eltk/staking-sdk v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.41

2 years ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.44

2 years ago

0.0.45

2 years ago

0.0.46

2 years ago

0.0.47

2 years ago

0.0.39

2 years ago

0.0.63

1 year ago

0.0.64

1 year ago

0.0.65

1 year ago

0.0.60

1 year ago

0.0.59

1 year ago

0.0.51

1 year ago

0.0.52

1 year ago

0.0.53

1 year ago

0.0.54

1 year ago

0.0.56

1 year ago

0.0.57

1 year ago

0.0.58

1 year ago

0.0.50

2 years ago

0.0.48

2 years ago

0.0.49

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.25

2 years ago

0.0.30

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.22

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.14

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.1.0

2 years ago