wharfkit / contract

Access table data, create actions, and retrieve types for Antelope-based Smart Contracts

Home Page:https://wharfkit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contract Kit

A library to simplify interactions with Antelope-based smart contracts.

Features:

  • Instantiate instances of a Contract in your frontend application
  • Retrieve smart contract data with Table instances.
  • Create action data by accessing actions directly through the .action method of a Contract
  • Retrieve Ricardian Contracts for specific actions through the .ricardian method of a Contract
  • Cache and optimize ABI call patterns automatically in your application.

Installation

The @wharfkit/contract package is distributed as a module on npm.

yarn add @wharfkit/contract
# or
npm install --save @wharfkit/contract

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.


Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.

About

Access table data, create actions, and retrieve types for Antelope-based Smart Contracts

https://wharfkit.com

License:Other


Languages

Language:TypeScript 94.7%Language:JavaScript 3.2%Language:Makefile 2.1%