1.5.0 • Published 2 years ago

tw-assets-management v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

tw-assets-management

Github App to help adding new tokens and managing the Trust Wallet assets repository.

Building

You need to create a .env file, from .env.example, setting the app clientId and clientSecret.

npm install
npm run build
npm start

Open in browser: http://localhost:3000

Structure

  • assetsLib: Standalone Typescript library with helper functions. Could be shared with assets repo CI checks, and others, but kept as a private library to this repo, beacuse server-side and client-side operations are different.

  • src: Bundling script to create bundle.js with dependencies.

  • static-files: Static-served HTML and other files, including client-side scripts.

  • index.js: Server script for serving web app, static files and auth-related logic.

AssetsLib

To publish lib version, run:

tsc && npm start