Giter Site home page Giter Site logo

bajetech / astrax Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.09 MB

AstraX - Web extension wallet for the DigitalBits Blockchain network.

Home Page: https://astraxwallet.com

License: Apache License 2.0

JavaScript 4.47% TypeScript 95.12% HTML 0.40%
astrax wallet

astrax's Introduction

AstraX

This repo is constructed using yarn workspaces and consists of the following 3 sections:

  • the browser extension (/extension)
  • the client-facing SDK (/@bajetech/astrax-api)
  • some shared files that the above use (/@shared/*)

Prerequisites

You will need

Build the extension

To simply build a production version of the extension, install the prerequisites then navigate to this root folder in your command line and run these 2 steps:

yarn

followed by

yarn build:extension:production

This will generate the files that make up the extension in extension/build

Starting a dev environment

yarn
yarn start

This will start up multiple watching builds in parallel:

  • The @bajetech/astrax-api npm module
  • A dev server with the webapp running in the extension, serving on localhost:9000
  • The actual built extension, able to be installed in Chrome, in build/

Each of these will build in response to editing their source.

These can be started individually with yarn start:\<workspace name\> where \<workspace name\> is one of:

  • astrax-api
  • extension
yarn build

This will produce final output for the @bajetech/astrax-api npm module, and the extension.

yarn build:\<workspace name\>, like the equivalent start commands, will build an individual workspace.

Useful URLs:

The popup webapp

The AstraX Documentation website

Importing a workspace

In some cases, you will want to import a workspace into another. For example, in extension we need to import @shared/constants. To do this, simply add @shared/constants to the dependencies list in package.json in extension. Yarn symlinks all the workspaces, so doing so will allow you to import files from the @shared/constants workspace as if it were a published npm package.

Dependencies

Many dev dependencies (such as Typescript, linters, Webpack, etc.) have been moved to the root package.json to allow devs to upgrade these libraries all in one place.

astrax's People

Contributors

anatolii-olshevsky-zytara avatar dependabot[bot] avatar github-actions[bot] avatar jeesunikim avatar lulca avatar owanhunte avatar piyalbasu avatar vcarl avatar vkapeliushnyi avatar

Stargazers

 avatar

Watchers

 avatar

astrax's Issues

Refactor wallet docs website for AstraX

The docs folder within the repo currently has the documentation for Freighter. We need to refactor this entire folder to update all Stellar/Freighter references to AstraX. Specifically the following needs to be done:

To make your changes, create a branch off of xdb-refactor, make your changes in your branch and then make a PR back into xdb-refactor.

"Help" link in the main menu leads to "Freighter" FAQ page.

Steps to reproduce:

  1. Log in to the extension as a valid user
  2. Navigate to main menu
  3. Click on the "help" link

Actual result: "Help" link in the main menu leads to "Freighter" FAQ page.

Expected result: "Help" link in the main menu should lead to "AstraX" FAQ page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.