1.2.0 โ€ข Published 1 year ago

@jumpdefi/airdrop-tool v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Table of contents

๐Ÿ“ฆ 1. Installation

  • Using npm:
npm install @jumpdefi/airdrop-tool
  • Using yarn:
yarn add @jumpdefi/airdrop-tool

๐Ÿ“š 2. Documentation

For full documentation, please see here.

Back to top ^

๐Ÿ›  3. Development

3.1. Requirements

Back to top ^

3.2. Setup

Install the dependencies:

$ npm install

Back to top ^

3.3. Running In Development Mode

  • To run the CLI in development mode, simply run the npm script:
$ npm start -- --help

โš ๏ธ NOTE: In order to not conflict with npm's arguments, you must use the -- between start and CLI flags.

Back to top ^

๐Ÿงช 4. Testing

4.1. Requirements

Back to top ^

4.2. Running Tests

The test script begins by building and starting a local Near network using the credentials in .near. Once this has started, the tests are run against this local validator node.

โš ๏ธ NOTE: As the local network contains one validator node, all blocks are handled by this validator.

Within this local network, account IDs will fave the suffix of .test.near, i.e. myaccount.test.near.

The main account (.test.near), whose credentials are stored at ./test/credentials, can be used as a faucet or to deploy contracts.

Back to top ^

๐Ÿ“‘ 5. Appendix

5.1. Useful Commands

CommandDescription
npm run buildBuilds the source code into the dist/ directory.
npm run docs:buildBuilds the documentation into the .docusaurus/ directory.
npm run docs:serveServes the built documentation from the .docusaurus/ directory.
npm run docs:startBuilds and runs the documentation in a development environment with hot reloading.
npm run lintRuns the linter on .js and .ts files.
npm run prettierRuns the prettier on .js and .ts files.
npm startRuns the CLI in development mode.
npm testSpins up a local Near node and runs tests against it.

Back to top ^

๐Ÿ‘ 6. How To Contribute

Please read the Contributing Guide to learn about the development process.

Back to top ^

๐Ÿ“„ 7. License

Please refer to the LICENSE file.

Back to top ^

1.2.0

1 year ago

1.2.0-beta.1

1 year ago

1.1.0-beta.2

1 year ago

1.1.0

1 year ago

1.1.0-beta.1

1 year ago

1.0.1-beta.2

1 year ago

1.0.1-beta.1

1 year ago

1.0.0

1 year ago

1.0.0-beta.1

1 year ago