3.0.7 • Published 2 years ago

zeeves-auth-sdk-js v3.0.7

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

SDK to authenticate users in Zeeves wallet (https://t.me/zilliqawalletbot) and initiate transactions.

To add package:

npm install zeeves-auth-sdk-js

And then just put this inside your code:

import "zeeves-auth-sdk-js";

Alternatively, you can load static script:

https://zeeves.io/sdk/sdk.min.js

To authenticate user, just call:

await Zeeves.auth();

or

const walletInfo = await Zeeves.getSession();

getSession() does the same thing as auth(), but also return wallet information, such as wallet address.

After authentication you can use Zeeves object as Zilliqa object from zilliqa-js (https://www.npmjs.com/package/@zilliqa-js/zilliqa).

Zeeves also has shortcut for sending transactions:

const transaction = await Zeeves.sendTxn(address, amount)

address - bech32 zilliqa address, which is the target for transaction

amount - ZIL amount of transaction (i.e. '1.1')

3.0.7

2 years ago

3.0.6

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

2.0.19

3 years ago

2.0.17

3 years ago

2.0.18

3 years ago

2.0.26

3 years ago

2.0.24

3 years ago

2.0.25

3 years ago

2.0.22

3 years ago

2.0.23

3 years ago

2.0.20

3 years ago

2.0.21

3 years ago

2.0.16

3 years ago

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.10

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago