@identity.com/gateway-eth-ts

v0.8.1
Adapter library for Identity.com gateway token system on Ethereum

prebuild

rm -rf dist && yarn copy-contracts

compile

tsc

doc

yarn typedoc src/index.ts --readme none --excludeNotDocumented

lint

eslint src/ --ext .ts

build

yarn compile && yarn doc

pretest

cd ../smart-contract && (NODE_ENV=test yarn local &) && sleep 10

test

ts-mocha src/**/*.test.ts

stop-network

lsof -t -i:8545 | xargs kill

copy-contracts

cp -r ../smart-contract/build/contracts/* src/contracts/abi/ && cp -r ../smart-contract/typechain-types src/contracts
npm i @identity.com/[email protected]

Metadata

  • MIT
  • >=14.0.0
  • Daniel Kelleher
  • released 1/24/2024

Downloads