Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.
/ trust-ray Public archive

☁️ API for the Trust Wallet. Project no longer supported and current version used as source of transactions and address tokens in Blockatlas https://github.com/trustwallet/blockatlas/blob/master/config.yml#L64

License

Notifications You must be signed in to change notification settings

trustwallet/trust-ray

Repository files navigation

☁️ Trust Ray ☁️

Greenkeeper badge

Build Status License HitCount Black Duck Security Risk

API for the Trust Ethereum Wallet.

Features

  • Parsing entire blockchain
  • Retrieving transactions with operations field for ERC20 contract actions
  • Retrieving ERC20 token balances
  • Push notification service (not yet implemented)

API wiki

Deploy on Heroku

Deploy

Locally (without docker)

  • Install required modules: $ npm install
  • Compile TypeScript: $ npm run build
  • Start the app: $ node dist/server.js
  • Run tests: $ npm run build && npm test

Docker containers

Install docker and docker-compose.

Set in ~/.bashrc export COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml

Set in .env MONGODB_URI=mongodb://mongodb:27017/trust-wallet

Dev tool:

  • Run build for npm install and build ./trust build

  • Start app in docker ./trust run

  • Stop docker containers ./trust stop

  • App logs ./trust logs

Authors

Contributing

We intend for this project to be an educational resource: we are excited to share our wins, mistakes, and methodology of iOS development as we work in the open. Our primary focus is to continue improving the app for our users in line with our roadmap.

The best way to submit feedback and report bugs is to open a GitHub issue. Please be sure to include your operating system, device, version number, and steps to reproduce reported bugs. Keep in mind that all participants will be expected to follow our code of conduct.

Code of Conduct

We aim to share our knowledge and findings as we work daily to improve our product, for our community, in a safe and open space. We work as we live, as kind and considerate human beings who learn and grow from giving and receiving positive, constructive feedback. We reserve the right to delete or ban any behavior violating this base foundation of respect.