@asanrom/smart-contract-wrapper-pq
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Smart Contract Wrapper

npm version

Typescript wrapper for smart contract interaction.

This is a library to interact with Ethereum EVM using the json-RPC API. It allows both calling pure and view methods and also sending transactions.

Installation

If you are using a npm managed project use:

npm install @asanrom/smart-contract-wrapper

Usage

This library exports various utilities, along with the class SmartContractInterface, that allows the interaction with smart contracts using the ABI definition.

Using this class you can create a class for a smart contract, implementing the methods you want to use, here is an example: ERC20 Contract Wrapper

Documentation

Contract wrapper generator

For automatic generation of a smart contract wrappers, use the following utility:

Readme

Keywords

none

Package Sidebar

Install

npm i @asanrom/smart-contract-wrapper-pq

Weekly Downloads

3

Version

2.0.1

License

MIT

Unpacked Size

69.4 kB

Total Files

21

Last publish

Collaborators

  • asanrom