1.0.14 • Published 2 years ago

@alex-decentral/min-test-package v1.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Installation

npm i

Setup

Create a .env file in the root of the project.
Create a env variable ROPSTEN_URL and assign your Ropsten RPC to it. e.i.: ROPSTEN_URL="https://link-to-your-ropsten-endpoint" If you are unsure of which Ropsten endpoint to use, try a Moralis speedynode endpoint: https://moralis.io/

Create a PRIVATE_KEY variable and assign your wallet private key to it. e.i.: PRIVATE_KEY="12345678901abcdefg"

Create a TOKEN_ADDRESS variable and assign the Token contract address to it. e.i.: TOKEN_ADDRESS="0x0123456789abcdefg"

Usage

npm run generate npm run build
npm test

Updating ABI

Add the updated ABI to the /abi directory and run npm run generate

Publish

npm publish --access public

Docs

Docs are available in the /docs directory

To regenerate them, run typedoc src/index.ts

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago