@exodus/assets-base
Advanced tools
Comparing version 8.0.141 to 8.0.142
@@ -0,1 +1,5 @@ | ||
# 8.0.142 / 2022-07-11 | ||
Rename displayTicker and displayName | ||
- IOTA -> (display ticker) MIOTA, IOTEX -> (display name) IoTeX | ||
# 8.0.141 / 2022-07-06 | ||
@@ -2,0 +6,0 @@ Add assets |
@@ -52,3 +52,3 @@ "use strict"; | ||
ticker: 'IOTAbsc32B417EF', | ||
properTicker: 'IOTA', | ||
properTicker: 'MIOTA', | ||
addresses: { | ||
@@ -60,3 +60,3 @@ current: '0xd944f1D1e9d5f9Bb90b62f9D45e447D989580782' | ||
name: 'iotx_bsc_3d250dac', | ||
properName: 'IoTex', | ||
properName: 'IoTeX', | ||
decimals: 18, | ||
@@ -63,0 +63,0 @@ ticker: 'IOTXbsc3D250DAC', |
{ | ||
"name": "@exodus/assets-base", | ||
"version": "8.0.141", | ||
"version": "8.0.142", | ||
"description": "Base level package for supporting Exodus assets.", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"prepublishOnly": "npm run build", | ||
"ct:solana": "node scripts/add-tokens.js --network=solana", | ||
"ct": "node scripts/add-tokens.js", | ||
"batch-token-generator": "node scripts/batch-token-generator.js" | ||
@@ -19,0 +19,0 @@ }, |
@@ -16,5 +16,16 @@ # Exodus Assets Base | ||
### Get Token Metadata | ||
yarn ct:<network> tokenAddress1 tokenAddress2 .... | ||
#### `ct` | ||
yarn ct --network:<network> tokenAddress1 tokenAddress2 .... | ||
Where `<network>` one of `solana`, `ethereum`, `bsc`, `matic`... | ||
It will print out the token metadata that should become part of assets-base tokens definitions file as well as the info that should go into asset-info. | ||
#### `batch-token-generator` | ||
- Have a CMC API KEY set as env variable `CMC_PRO_API_KEY` | ||
- Define `input.yml` (see [asset-lis.yml](scripts/asset-list.yml) example) and | ||
``` | ||
yarn batch-token-generator <path-to-input.yml> | ||
``` | ||
In addition to data to paste in `@exodus/assets-base`, it will print out data to paste in other static files like clients' `scss` files. | ||
## Usage | ||
@@ -21,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215189
111