Trias Wallet is a secure bitcoin, ethereum and TRY wallet, based on Copay of Bitpay.
In addition to retaining some of its original excellent features, we redesigned it to meet the needs of our users, aiming to develop a simple, easy-to-use and secure wallet.
Note: This method should only be used for development purposes.
Clone the repo and open the directory:
git clone https://github.com/trias-lab/wallet.git
cd wallet
Ensure you have Node installed, then install and start Copay:
npm install
npm run apply:copay
npm run start
Visit localhost:8100 to view the app.
To run the tests, run:
npm run test
It's recommended that all final testing be done on a real device – both to assess performance and to enable features that are unavailable to the emulator (e.g. a device camera).
Follow the Cordova Android Platform Guide to set up your development environment.
When your developement enviroment is ready, run the start:android package script.
npm run apply:copay
npm run prepare:copay
npm run start:android
Follow the Cordova iOS Platform Guide to set up your development environment.
When your developement enviroment is ready, run the start:ios package script.
npm run apply:copay
npm run prepare:copay
npm run start:ios
Before building the release version for a platform, run the clean-all command to delete any untracked files in your current working directory. (Be sure to stash any uncommited changes you've made.) This guarantees consistency across builds for the current state of this repository.
The final commands build the production version of the app, and bundle it with the release version of the platform being built.
npm run clean-all
npm install
npm run apply:copay
npm run prepare:copay
npm run final:android
npm run clean-all
npm install
npm run apply:copay
npm run prepare:copay
npm run final:ios
We published the Front-end documentation of this project using Github Pages.
To enable external services, set the COPAY_EXTERNAL_SERVICES_CONFIG_LOCATION or BITPAY_EXTERNAL_SERVICES_CONFIG_LOCATION environment variable to the location of your configuration before running the apply task.
COPAY_EXTERNAL_SERVICES_CONFIG_LOCATION="~/.copay/externalServices.json" npm run apply:copay
# or
BITPAY_EXTERNAL_SERVICES_CONFIG_LOCATION="~/.bitpay/externalServices.json" npm run apply:bitpay
While Trias is being used in production in private, permissioned environments, we are still working actively to harden and audit it in preparation for use in public blockchains. We are also still making breaking changes to the protocol and the APIs. Thus, we tag the releases as alpha software.
In any case, if you intend to run Trias in production, please contact us and join the chat.
To report a security vulnerability, bug report
All code contributions and document maintenance are temporarily responsible for TriasLab.
Trias are now developing at a high speed and we are looking forward to working with quality partners who are interested in Trias. If you want to join,please contact us:
Trias is responsible for the code and documentation upgrades for all Trias modules. In an effort to avoid accumulating technical debt prior to Beta, we do not guarantee that data breaking changes (ie. bumps in the MINOR version) will work with existing Trias blockchains. In these cases you will have to start a new blockchain, or write something custom to get the old data into the new chain.