1.0.0-39 • Published 4 years ago

@candoizo/aavegotchi-node-lib v1.0.0-39

Weekly downloads
-
License
TBD
Repository
github
Last release
4 years ago

aavegotchi-node-lib 👻📦

A Node.js package for type-safe definitions from the official Aavegotchi GraphQL endpoints.

Clone this repo and test the demo with: cd demo/ && yarn && yarn test

Peek some example Javascript code in demo/index.ts.

Usage

note: replace instances of @aavegotchi/sdk with @candoizo/aavegotchi-node-lib if not on aavegotchi namespace.

To install in a Node.js project: yarn add @aavegotchi/sdk

Typescript

import { defaultSdk } from "candoizo/aavegotchi-node-lib"
const { lastTimePurchased, aavegotchiLeaderboard } = defaultSdk();

async function main() {
  let res = await lastTimePurchased({
    itemID: 145
  });
  console.log(res);
}

main();

Javascript

const aavegotchiNodeLib = require("@candoizo/aavegotchi-node-lib");
const { lastTimePurchased, aavegotchiLeaderboard } = aavegotchiNodeLib.defaultSdk();

const main = async () => {
  let res = await lastTimePurchased({
    itemID: 145
  });
  console.log(res);
}

main()

External

https://thegraph.com/explorer/subgraph/aavegotchi/aavegotchi-core-matic?version=current

1.0.0-39

4 years ago

1.0.0-20

5 years ago

1.0.0-21

5 years ago

1.0.0-22

5 years ago

1.0.0-23

5 years ago

1.0.0-24

5 years ago

1.0.0-27

4 years ago

1.0.0-28

4 years ago

1.0.0-29

4 years ago

1.0.0-30

4 years ago

1.0.0-31

4 years ago

1.0.0-32

4 years ago

1.0.0-33

4 years ago

1.0.0-34

4 years ago

1.0.0-35

4 years ago

1.0.0-36

4 years ago

1.0.0-37

4 years ago

1.0.0-38

4 years ago

1.0.0-19

5 years ago

1.0.0-9

5 years ago

1.0.0-8

5 years ago

1.0.0-10

5 years ago

1.0.0-11

5 years ago

1.0.0-12

5 years ago

1.0.0-13

5 years ago

1.0.0-14

5 years ago

1.0.0-15

5 years ago

1.0.0-16

5 years ago

1.0.0-17

5 years ago

1.0.0-18

5 years ago

1.0.0-7

5 years ago

1.0.0-6

5 years ago

1.0.0-5

5 years ago

1.0.0-4

5 years ago

1.0.0-2

5 years ago

1.0.0-1

5 years ago

1.0.0

5 years ago