All Projects → blockchain → Blockchain Wallet V4 Frontend

blockchain / Blockchain Wallet V4 Frontend

Licence: agpl-3.0
Blockchain.com's Wallet built with React & Redux

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Blockchain Wallet V4 Frontend

Optimal Buy Cbpro
Scheduled buying of BTC, ETH, and LTC from Coinbase Pro, optimally!
Stars: ✭ 288 (-10.84%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Blockchain Stuff
Blockchain and Crytocurrency Resources
Stars: ✭ 2,549 (+689.16%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Unstoppable Wallet Ios
A secure and decentralized Bitcoin and other cryptocurrency wallet for iPhone. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 180 (-44.27%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cryptocurrency Analysis Python
Open-Source Tutorial For Analyzing and Visualizing Cryptocurrency Data
Stars: ✭ 278 (-13.93%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cryptolist
Curated collection of blockchain & cryptocurrency resources.
Stars: ✭ 3,501 (+983.9%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+801.55%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cryptoview
Elegant portfolio management for multi-exchange traders
Stars: ✭ 206 (-36.22%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Telegram Kraken Bot
Python bot to trade on Kraken via Telegram
Stars: ✭ 156 (-51.7%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (-29.41%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Ccxt Rest
Open Source Unified REST API of 100+ Crypto Exchange Sites (18k+ docker pulls) - https://ccxt-rest.io/
Stars: ✭ 210 (-34.98%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cbpro Trader
Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
Stars: ✭ 171 (-47.06%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Awesome Coins
₿ A guide (for humans!) to cryto-currencies and their algos.
Stars: ✭ 3,469 (+973.99%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Unstoppable Wallet Android
A secure and decentralized Bitcoin and other cryptocurrency wallet for Android phones. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 165 (-48.92%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Awesome Decentralized Papers
Influential papers in decentralized systems (cryptocurrencies, contracts, consensus, etc.)
Stars: ✭ 179 (-44.58%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Bot18
Bot18 is a high-frequency cryptocurrency trading bot developed by Zenbot creator @carlos8f
Stars: ✭ 157 (-51.39%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Tbtc
Trustlessly tokenized Bitcoin on Ethereum ;)
Stars: ✭ 182 (-43.65%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Awesome Token Sale
Curated list of token sale resources / ICO resources
Stars: ✭ 149 (-53.87%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Cryptocurrency Icons
A set of icons for all the main cryptocurrencies and altcoins, in a range of styles and sizes.
Stars: ✭ 2,116 (+555.11%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Nicehashquickminer
Super simple & easy Windows 10 cryptocurrency miner made by NiceHash.
Stars: ✭ 211 (-34.67%)
Mutual labels:  ethereum, bitcoin, cryptocurrency
Time Series Machine Learning
Machine learning models for time series analysis
Stars: ✭ 261 (-19.2%)
Mutual labels:  ethereum, bitcoin, cryptocurrency

Build Status js-standard-style Known Vulnerabilities code style: prettier License: AGPL v3 Codechecks

Blockchain.com Wallet

Be Your Own Bank at login.blockchain.com. Please contact support if you have any issues using the wallet.

About

This repo contains the three codebases/packages listed below.

Packages

Local Development

  1. Ensure Node version >= 12.18 is installed.
  2. From the project root, run the following command to install dependencies: ./setup.sh.
  3. Start the application in development mode: yarn start
  4. The frontend application will now be accessible via browser at localhost:8080

If you require the application to run locally over HTTPS, follow the instructions here. You can disable SSL by setting the DISABLE_SSL env param to true with any start command. (e.g. DISABLE_SSL=true yarn start:staging)

Windows Support

To ensure proper support for Windows, please take the following actions before running the above setup instructions.

  1. Open a Powershell window with rights elevated to an Administrator.
  2. Run npm install -g windows-build-tools. This will install Python 2.7 and Visual C++ Build Tools which are required to compile some native Node modules.
  3. Ensure Python has been added to your environment variables by opening a cmd prompt and typing python. If you get a CommandNotFoundException message, add the folder %USERPROFILE%\.windows-build-tools\python27 to your environment variables.

Tips & Useful Commands

  1. To completely remove all dependencies and artifacts run yarn clean
  2. To add/remove an NPM package run yarn add or yarn remove in the package folder. After installing or uninstalling a NPM package, run yarn in the root folder to re-init the project
  3. All development specific dependencies should be installed as a dev-dependency in the top level package.json via yarn i --save-dev [package-name]
  4. All application specific dependencies should be installed in the specific packages package.json via yarn i --save [package-name]

Running Environments Locally

The frontend application can be ran locally with different build configurations found in config/env. The following commands are available:

  • yarn start Runs the application with the development.js configuration file
  • yarn start:dev Runs the application with the development.js configuration file
  • yarn start:staging Runs the application with the staging.js configuration file
  • yarn start:prod Runs the application with the production.js configuration file
  • yarn run:prod Runs the application mimicking the production environment entirely (i.e. code is bundled and minified, HMR is disabled, Express server is used (./server.js) and the production.js configuration file is loaded)

Notes:

  • Developers will need to manually create the development.js and staging.js files
  • Custom application runtimes are possible by modifying the corresponding environment files found in the config/env folder

Useful Chrome Extensions

Release Process

Prerequisites

To be able to create a release follow these steps starting with "Obtain a personal access token...": https://github.com/release-it/release-it#github-releases

GITHUB_TOKEN should be saved as RELEASE_IT_TOKEN instead in your bash_profile or wherever you keep env variables

You'll need git changelog to generate the history since the last release: npm install -g changelog

Release Steps

  1. From the tip of the development branch, run yarn release
  2. Answer the questions prompted via CLI, accepting the defaults for each
  3. Once completed, this will create a new tag which will trigger a builds
  4. Once builds have finished, deploy the images to desired environments
  5. Test and verify the latest changes in desired environments
  6. Create PR to merge the HEAD of development into master
  7. Merge PR to master so that master always reflects what is currently in production

Code Quality

  • yarn vet Runs Prettier, lint JS, lint CSS and finally all unit tests

Linting

We follow the rules outlined by the Javascript Standard Style as well as a few React specific rules.

Code linting is handled by ESLint. The following commands are available:

These IDE plugins/packages assist with complying with these lint rules while developing:

Prettier

We follow all standard rules that are provided by Prettier. The following commands are available:

It is recommended to setup a Prettier plugin for your IDE plugins/packages that will automatically prettify your files on save.

When installing the plugin for VS Code make sure you are on v3.7.0 or lower

Unit Tests

Testing is done via Jest and Enzyme.

Running Tests

Note: if you see errors that Jest cannot resolve package imports, you may need to run yarn test before testing specific packages (eg, yarn test:frontend)

Running Tests via Watch

Debugging Tests

To enable debugging for unit tests via the Chrome browser, run the following commands:

After running one of the above commands, Node will wait for a debugger to attach before starting the tests. To attach, simply open your browser and go to chrome://inspect and click on "Open Dedicated DevTools for Node", which will give you a list of available node instances you can connect to. Click on the address displayed in the terminal (usually localhost:9229) and you will be able to debug tests using Chrome's DevTools.

Updating Snapshot Tests

We are snapshot testing UI some components. Here are the commands to update them when necessary:

Code Coverage

To generate code coverage reports via Istanbul, the following commands are available:

Depending upon which coverage report was ran, the results can be found in the following directories:

  • coverage/index.html
  • coverage/blockchain-info-components/index.html
  • coverage/blockchain-wallet-v4/index.html
  • coverage/blockchain-wallet-v4-frontend/index.html Simply open the index.html file in your browser to view.

TypeScript

TypeScript is supported and should be used when adding new code. It's also recommended to replace legacy JS with TS when time allows.

TS Coverage

We are using Codechecks and Typecov for coverage reporting. Coverage is automatically analyzed for PRs and the following command is available.

  • yarn codechecks

Code Bundle Analysis/Reports

To visualize and interact with the tree of the production code bundles files:

  • yarn analyze Once completed, a browser will automatically open with the results.

Storybook

Storybook is used by the blockchain-info-components package to interactively view, develop and test components. The following commands are available:

  • storybook:build: Builds the static storybook assets
  • storybook:serve Builds storybook assets and then serves them locally at localhost:6006
  • storybook:deploy Builds storybook assets and then serves them to github pages. You will probably need to run cd ./packages/blockchain-info-components && git remote add origin [email protected]:blockchain/blockchain-wallet-v4-frontend.git first.

If the deploy begins to fail, deleting the static build file before redeploy will likely help.

Contribute

Please review to the Wiki

Security

Security issues can be reported to us in the following venues:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].