5.2.0 • Published 8 months ago

@asanrom/smart-contract-wrapper v5.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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:

5.2.0

8 months ago

5.1.0

8 months ago

5.0.0

9 months ago

4.0.3

1 year ago

4.0.1

1 year ago

4.0.2

1 year ago

4.0.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago