Coder Social home page Coder Social logo

emiride / lace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from input-output-hk/lace

0.0 0.0 0.0 26.19 MB

The Lace Wallet.

Home Page: https://lace.io

License: Apache License 2.0

Shell 0.09% JavaScript 0.92% C++ 0.03% C 0.02% Objective-C 0.01% Haskell 0.20% Go 1.58% TypeScript 79.01% CSS 0.02% Nix 1.26% HTML 0.21% SCSS 6.74% Gherkin 9.92%

lace's Introduction

Lace

Quality Gate Status Security Rating Vulnerabilities

Project structure

Apps

Packages

Getting started

Authorize to GitHub Package Registry

Lace depends on @input-output-hk/lace-ui-toolkit package, which is published from lace-ui-toolkit repository to Github Package Registry. In order to install dependencies from GitHub Package Registry, Personal Access Token needs to be provided.

Important

It is required to generate Personal Access Token (PAT) to be able to authorize to Github Package Registry prior to installing projects dependencies. For more details follow this link: Working with the npm registry.

How to authorize to GitHub Package Registry

  1. Go to Profile/Settings/Developer Settings/Personal access tokens/Tokens (classic) to generate a new PAT
  2. Select at least read:packages permissions to be able to download packages from GitHub Package Registry
  3. Create ~/.yarnrc.yml file in your home directory and insert:
npmScopes:
  input-output-hk:
    npmAlwaysAuth: true
    npmAuthToken: YOUR_GITHUB_PAT
    npmRegistryServer: "https://npm.pkg.github.com"

For more details check GitHub's guide: Authenticating with personal access token

Install dependencies

yarn install

Setup environment variables

cp ./apps/.env.defaults ./apps/.env

Once .env files is created adjust it to your needs, and update LACE_EXTENSION_KEY

Build packages and extension

yarn build

Install Lace extension in Chrome / MS Edge browser

  1. Go to chrome://extensions/ or edge://extensions/ in selected web browser
  2. Enable Developer mode
  3. Click Load unpacked and point out dist folder from apps/browser-extension-wallet which is built in previous step
  4. Extension should be visible in Extensions and ready to use.

Dev commands

yarn [app] [command]

Available [app] options:

Available [command] options:

  • build
  • build-deps - build only dependencies of a given app
  • watch - build and watch
  • watch-deps - build and watch only dependencies of a given app

You can mix them together.

Examples:

Working with UI Toolkit

In this workspace UI Toolkit is used in 4 places:

  • apps/browser-extension-wallet
  • packages/core
  • packages/shared-wallets
  • packages/staking

Based on the specific use case we can link it on:

Linking UI Toolkit on app level, allows you to see all changes in app and packages using it.

Linking UI Toolkit on package level, allows you to develop components in isolation using for example Storybook.

Audit

Lace has been independently audited and manually verified by external auditor, FYEO, so the Lace team can improve code quality and security โ€“ giving you greater peace of mind. You can view the full report at lace.io/lace-audit-report

lace's People

Contributors

wklos-iohk avatar ljagiela avatar szymonmaslowski avatar mchappell avatar przemyslaw-wlodek avatar oldgreg5 avatar greatertomi avatar vetalcore avatar renanvalentin avatar bslabiak avatar vanessapc avatar refi93 avatar jplorek-atix avatar lucas-barros avatar mrcnk avatar pczeglik-iohk avatar shawnbusuttil avatar tommayeliog avatar lgobbi-atix avatar xdzurman avatar dominikguzei avatar milagi avatar michalrus avatar miorsufianiohk avatar danielmain avatar emiride avatar tomislavhoracek avatar angelcastillob avatar rhyslbw avatar mkazlauskas avatar

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.