@logion/import
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

logion-import

Install

Install locally: npm install @logion/import

Install globally: sudo npm install @logion/import -g

Run

Run previously installed : logion-import

Run without installation npx @logion/import

Develop

yarn build

# Test CSV validation
node dist/index validate-csv samples/*

# Test CSV creation
node dist/index create-csv --with-files image/png --with-tokens owner

Integration tests

Pre-requisites

Below steps must be executed only if you did not yet create the logion-test network.

  • Create logion-test network: docker network create logion-test
  • Get network's gateway IP address: docker network inspect logion-test | jq '.[0].IPAM.Config[0].Gateway'
  • Set RPC_WS variable in .env file (see .env.sample for an example) with the above IP address

Running the tests

  • Start the Logion chain locally (see here)
  • In another terminal, run the tests: yarn integration-test
  • Stop Zombienet

Readme

Keywords

Package Sidebar

Install

npm i @logion/import

Weekly Downloads

15

Version

0.2.1

License

Apache-2.0

Unpacked Size

27.7 kB

Total Files

10

Last publish

Collaborators

  • benoitdevos
  • gdethier