Metadata
Token Metadata Tools for AirSwap Developers
Resources
- About → https://about.airswap.io/
- Website → https://www.airswap.io/
- Twitter → https://twitter.com/airswap
- Chat → https://chat.airswap.io/
Usage
Add the package to your project:
yarn add @airswap/metadata
Import into your application:
import { getKnownTokens } from '@airswap/metadata'
import { ChainIds } from '@airswap/utils'
const { errors, tokens } = await getKnownTokens(ChainIds.MAINNET)
Commands
Command | Description |
---|---|
yarn |
Install dependencies |
yarn clean |
Delete the contract build folder |
yarn compile |
Compile all contracts to build folder |
yarn test |
Run all tests in the test folder |