Commit Graph

54 Commits

Author SHA1 Message Date
Adam R
e33bb7e607
[Internal] Update dependencies (#12532)
* Update sharp pkg, get rid of tar pkg with vulnerability

* Upgrade dependencies

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-08-05 09:32:11 +02:00
Adam R
80b998980e
Upgrade dependencies (#9783)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-10 12:08:39 +02:00
Adam R
ec4aa4773e
Update dependencies meow and trim-newlines (#9781)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-10 12:03:22 +02:00
Adam R
87bd94552e
Remove danger, leftovers (#6151)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-30 14:19:49 +02:00
Adam Žurek
9a79901601
updated typescript etc to 4 (#5797) 2021-03-05 06:52:41 +01:00
Adam R
159cec7043
[Internal] Infrastructure for change management (history) (#5653)
* Infrastructure for change management (history).

* Always take latest commit from master

* Allow history folder.

* Lint fixes

* Error handling, do not update LATEST if version writing failed

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 16:25:32 +01:00
Adam R
bf24ea2d8b
[Internal] Tokenlist pairs update: Only manual update; use exclude/include config; no tokenlist_base (#5451)
* Force include and exclude implementation.

* Rename update to updateAuto

* UpdateManual hooks

* UpdateManual hook fix

* Update existing tokenlist.json file, use exclude/include config.

* Force include only pairs against the main currency.

* PS config adjustment

* Remove tokenlist_base files

* Lint fix

* Remove all pairs first.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-01 16:45:55 +01:00
Adam R
072eb40c33
[Internal] Binance tokenlist update changes (#5377)
* Update tokenlist version and timestamp if needed before save, move assetID functions to common asset.ts.

* Lint fixes

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-01-25 15:23:03 +01:00
Adam R
9e1bc41f28
[internal] Update axios dep (#5257)
* Update axios dep

* Update package-lock

* Update dep jest/node-notifier

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-01-06 09:55:04 +01:00
Viktor Radchenko
9b41a52182
Add token list support for pairs on binance chain (#4428)
* Add token list support for pairs on binance chain

* Update tokenlists.ts

* Update tokenlists.ts

* Update tokenlists.ts

* Fix asset for bnb pair

* Update package-lock.json

* Add models for token list

* Add BinanceMarket
2020-10-13 18:20:42 -07:00
Adam R
0df2291872
[internal] Simplify eth-address handling, smaller dependency (#4200)
* Simplify eth-address handling, smaller dependency

* Remove web3 dependency

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-29 15:01:34 +02:00
Adam R
ec1fe7f6ee
[internal] Script restructuring/refactoring (#4070)
* Make non-mandatory action interface elements optional.

* Remove one unused import

* Scripts main renamed to entrypoint.

* Script common rename to generic

* Move generic scripts from action to generic.

* Move chain-specific scripts to blockchain.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-23 15:47:24 +02:00
Adam R
68e0cc6d90
[internal] Set up Linting (#4040)
* Add ESLint infrastructure.

* Lint auto fixes.

* Lint fixes.

* Lint fixes.

* Add Lint to CI builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-18 16:39:31 +02:00
Adam R
1e6b948f0a
Update dependencies. (#3891)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-10 11:57:46 +02:00
Viktor Radchenko
1d9d09bd82
Add New Smart Chain (#3881) 2020-09-09 12:15:44 -07:00
Viktor Radchenko
d1e4d592f0
Add support for BEP20 tokens (#3787)
* Update to use wallet core 2.2.9

* Add allowlist and denylist

* Create info.json

* Update info.json

updated BSC info.json

Co-authored-by: zachzwei <35627271+zachzwei@users.noreply.github.com>
2020-09-04 12:34:31 +08:00
Adam R
197613e61c
[internal] Set up Danger build on PR (#3243)
* Return all error messages from checks (to be used by Danger).
* Add Danger dev dep.
* Fix danger.yml + dangerfile.ts.
* Fix root files.
* Finetune Danger message.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 10:03:28 +02:00
Adam R
294d8bcb5d
[internal] Fixes and Checks: separate into consistency and sanity (#3197)
* rename to sanityFix
* Infra for consistency checks and Fixes.
* Whitelist check moved to consistency check only.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-10 10:56:41 +02:00
Adam R
102f2b88d4
[Internal] New infra for runnig checks (not as jest tests) (#2938)
* CMC mapping update.

* New check infrastructure, move root folder test to new infra.

* Move list of allowed files to config.

* Include new check in other tests.

* More generic way to call checks.

* Organize fix and update actions behind interfaces.

* Organize checks into steps, multiple steps per action.

* Simplify checkStep class/instance creation.

* Migrate chain logo checks.

* Migrate asset folder check.

* Migrate further chain checks.

* Migrate eth fork folder checks.

* Migrate binance chain check.

* Extra output.

* Output improvements.

* Async fix.

* Migrate Tron check.

* Add Tron check.

* Remove Tron check from old.

* White/blacklist check in new intra, combined with fix.

* Refine ETH checks.

* Remove from old infra.

* Migrate CMC check to new infra.

* Migrate validator tests to new check infra.

* Migrate Json files validity check to new check infra.

* Whitelist check fix.

* Cleanup helpers.ts.

* Move helpers.ts.

* Cleanup of models.ts.

* Move models.ts.

* Move index.test.ts.

* Update with BEP8 support.

* Descriptive names for jobs within the builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-06 21:17:38 +02:00
Adam R
079617ac38
[Internal] Refactored fix builds (#2920)
* Empty infrastructure for new-housekeeping build.

* Move updateBEP action to new new-housekeeping build infra.

* Remove old updateBEP.

* New-housekeeping-dryrun run.

* Include new top-level folder name script-new.

* Remove update:bep2 from old daily-run.

* Use imports instead of require.

* Small refactor for testability.

* Organize scripts into subfolders.

* iUpdateBEP2: refactor and add tests.

* Move formatting validators to new-housekeeping,add new helpers.

* Move info and black/whitelist fixing to new-housekeeping.

* New fix command.

* New 'fix' target; Move ETH checksum fix to new-housekeeping.

* Move logo size check and resize to new-housekeeping.

* Improved async error handling.

* Build renames.

* Move (old) BEP2 and CMC update to periodic update build.

* Rename (add missing).

* Rename builds.

* Renames ('fix').

* rename

* Invoke new scripts (as well) from period-update.

* Move cmc update to new-periodic.

* Move tezos validator update to new-periodic.

* Missing file.

* Leftover.

* Cleanup

* Rename of unused openseacontracts.

* CMC should not be run always.

* Break main/fixAndUpdate function into two.

* Show diff in build after changes.

* Cleanup

* Rename, script-old.

* Cleanup, remove old fix build definitions.

* Renames, remove new- prefix.

* CMC mapping update.

* Config infrastructure; add binance URL to config.

* Add image size parameters to config.

* Rename.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-29 15:42:51 +02:00
Adam R
a53aebeccb
Security Alert: update codecov to >=3.7.1 (#2819)
* Bump package dependencies.

* Add dev dep to codecov >=3.7.1, to force newer version (codecov is pulled indirectly by eztz-lib).

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-20 22:10:01 +02:00
Viktor Radchenko
4c3b6b1699
Delete use of @trustwallet/types (#2693)
* Delete use of @trustwallet/types

* Add wallet-core support

* Remove cleanup option
2020-07-11 01:10:28 -07:00
mykola.eth
5a9e2a8622
Update cmc generation script (#2143) 2020-05-20 14:52:27 -07:00
Mykola
20f4298edb Add StakingTeam Tezos validator
from https://github.com/trustwallet/assets/pull/1971
2020-04-27 12:53:11 -07:00
mykola.eth
e07451bb86
Add PR test CI (#1997)
* Add PR test CI

* fix syntax

* run

* Add cache

* remove unused commit script

* Disable restore-keys

* Add condition to skip install if cache true

* .

* Update packages

* Update cmc map

* node v

* temp disable cache

* on

* .

* skip check

* try new cache

* Change badge run test
2020-04-27 12:47:15 -07:00
mykola.eth
b55b21473e
M/tezos bakers info (#1954)
* Update baker fee

* Add Tezos bakers staking info

* remote temp

* remove dub

* rm
2020-04-23 11:24:03 -07:00
Bitcollar Max
d2a6283b29
Upload Bitcollar Max (#1896)
* Add files via upload

* Add script moving 0xX..X.png from toor to it's folder in assets assuming file ETH.

Co-authored-by: Mykola <kolya182@gmail.com>
2020-04-17 20:33:50 -07:00
mykola.eth
3fa3e28c47
Resize image > 100kB add test (#1808)
* REsize image > 100kB add test

* Fix typo

* Optimised images with calibre/image-actions

* Compress images with size > 70 kB

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-10 20:07:01 -07:00
Mykola
c1a9c935e0 Daily update 2020-04-05 12:28:39 -07:00
AdsByWiFiWADS
dfa5e1c3c9
wads update logo (#1541)
* adsbywifi update logo

* wads update logo

* wads update logo

* wads update logo

* remove checksum for test

* Enable checksum conversion

* Return rename result

* try force

* Use process.cwd() for full path

* rename checksum script

* Update map

Co-authored-by: Mykola <kolya182@gmail.com>
2020-03-24 21:02:32 -07:00
EtherX Project
9f4ed41dd6
Upload EtherX Token (#1509)
* Add files via upload

* Add script to move files /assets/0x..XX.png => /asstes/0x..XX/logo.png

Co-authored-by: Mykola <3277207+kolya182@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
2020-03-20 15:16:45 -07:00
xion30
5892457e09
add logo in hashthereum (#1508)
* add files via upload

* STK Coin (STK)

* Checksum test

* Add wrong asset naming

* Add script checking logo extension

Co-authored-by: Mykola <kolya182@gmail.com>
2020-03-20 13:48:55 -07:00
Mykola
3f2c1bc999 update 2020-02-27 13:55:38 -08:00
Mykola
7768215119 uodate all 2020-02-24 23:42:23 -08:00
Mykola
08efad8571
Token update procedure script (#1285)
* Add socials param if doesn't exist

* Igonre text files

* Update command

* Contract upgrade procedure

* Checksum ERC20 addresses [skip ci]

* Optimised images with calibre/image-actions

* Update list again

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-21 14:01:03 -08:00
Mykola
dbd039296b Update script 2020-02-19 22:02:05 -08:00
Mykola
3ac372ecf8
Checksum script (#1263)
* Add @types/node

* Add checksum script

* Update azl pipeline

* Update map

* Optimised images with calibre/image-actions

* Omit checkout

* remove

* Recreate with exectute permission

* Add lovercase for tsting script

* Change to chmod 700

* run with sudo

* run with sudo

* Use SYSTEM_PULLREQUEST_SOURCEBRANCH var to get branch name

* Use Bash task

* Checksum ERC20 addresses [skip ci]

* Add in lowercase for testing

* Checksum ERC20 addresses [skip ci]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-18 18:00:11 -08:00
Mykola
b9975d4646
Cmc map script (#1148)
* Add new coin images after script run

* Add new methods

* Move interfaces

* Update readme

* CMC map script

* Update maping

* Update script andUpdate scrip results

* Remove good from whitelist

* remove old

* Update list

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-04 00:54:44 -08:00
Mykola
75136431f4
Mykola/add username prop (#1091)
* Add nested-property for easy work with objects

* Add infoList interface

* Modify and run script  to gen new "username" property

* Add "username" prop for all coins

* Optimised images with calibre/image-actions

* Optimised images with calibre/image-actions

* Rename username -> handle

* Rename username -> handle

* Optimised images with calibre/image-actions

* rename

* Update handle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-01-28 12:55:19 -08:00
Mykola
048b941bf4 Move checksum script to ts 2020-01-19 21:34:25 -08:00
Mykola
99d4bfbb4f
Add coin info (#1052)
* Add Ethereum

* Add XRP

* Add Bitcoin Cash

* Add Cosmos

* Add Dash

* Add Tezos

* Add ETC

* ADA

* TRX

* XLM

* BNB

* LTC

* Add template for top under 20 coins

* Gen info.json script + template

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-01-18 14:21:09 -08:00
Mykola
bd74372b86 Update list 2020-01-17 13:44:30 -08:00
Mykola
256d4ec045 Update packages 2020-01-16 10:50:25 -08:00
Mykola
6c520c7f2a Update packages 2020-01-13 16:44:30 +09:00
Mykola
d7ea45f6c3 Remove unactive 2020-01-02 10:29:58 -08:00
Mykola
b7978e9023 Update 2020-01-02 10:18:43 -08:00
Mykola
19d58c5368 Update scripts 2019-12-14 13:48:06 -08:00
Mykola
786b1403d3 Update packages 2019-11-19 23:29:19 -08:00
Mykola
89dee43291 Resize images
Close https://github.com/trustwallet/tokens/issues/1024
2019-11-19 12:22:38 -08:00
Mykola
744dfbe5c8 Remove verify tokens 2019-11-14 01:06:26 -08:00