Skip to content

GreenTON-global/sdk-react

Repository files navigation

sdk-react

This is an official GreenTON React SDK, which provides you simple interfaces for interacting with our APIs and smart-contracts.

Usage

Currently the package provides access to the temporary GreenTON API

import { greentonApi } from '@greenton/sdk-react';

// Get all available trees from catalog
greentonApi.catalog.getAll();

Progress

  • GreenTON API wrappers
  • Smart-contract wrappers (blueprint)
  • Hooks for simle interaction with GreenTON smart-contracts