Giter Site home page Giter Site logo

liftedinit / alberto Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 7.0 2.11 MB

A crypto wallet for any ledger supporting the Many protocol

Home Page: https://alberto.app

License: Apache License 2.0

HTML 0.20% CSS 0.21% TypeScript 97.32% Shell 0.51% JavaScript 1.76%
blockchain cryptocurrency decentralized many-protocol wallet

alberto's Introduction

Alberto

coverage

Alberto by Lifted Labs is a cryptocurrency wallet that can hold identities and manage communications with a ledger running as a module on a network that supports the Many Protocol.

Getting Started

To start Alberto, install dependencies and then run locally.

npm install
npm start

e2e Testing

  • Start up local many-server. ex: run ./scripts/run.sh in many-framework
  • Make a duplicate of e2e/.env.example and name it .env in e2e/. Result should be e2e/.env
  • Edit the variables in e2e/.env if needed
    • If address (...wijp) below differs from what's found in ledger_state.json5 in many-framework, change MAIN_WALLET_PEM to be the PEM file of that address. Otherwise, keep the default.
    initial: {
        "maffbahksdwaqeenayy2gxke32hgb7aq4ao4wt745lsfs6wijp": {
            "MFX": 1000000000
        }
    },
    
    • Three seed phrases are already included. Change them if you prefer to use different ones.
  • Run npm run test:e2e to run playwright tests locally

Alberto will also be available on mobile devices as an "installable" progressive web application via GitHub Pages once this repository has been made publicly available.

Web3auth

Version

Alberto is currently pre-release alpha software, so incrementing the version (which will trigger creating a GitHub Release) is best accomplished with the following command:

npm version prerelease --preid alpha

alberto's People

Contributors

dependabot[bot] avatar fmorency avatar hansl avatar oneway-fullstack avatar stanleyjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alberto's Issues

`package-lock.json` liftedinit/ui package points to a fork

When running a raw npm install on this repo, I get the following diff in package-lock.json:

diff --git a/package-lock.json b/package-lock.json
index 75c3701..96e8fd7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,7 +14,7 @@
         "@emotion/styled": "^11.8.1",
         "@fontsource/roboto": "^4.5.8",
         "@liftedinit/many-js": "^0.1.0-alpha.5",
-        "@liftedinit/ui": "github:stanleyjones/lifted-ui#page-container",
+        "@liftedinit/ui": "github:liftedinit/lifted-ui",
         "@web3auth/openlogin-adapter": "^2.1.3",
         "@web3auth/web3auth": "^2.1.3",
         "framer-motion": "^6.2.8",
@@ -4984,7 +4984,7 @@
     },
     "node_modules/@liftedinit/ui": {
       "version": "0.1.0",
-      "resolved": "git+ssh://[email protected]/stanleyjones/lifted-ui.git#11ff6ad2488a0876140f26072fd2e2c9d78a2596",
+      "resolved": "git+ssh://[email protected]/liftedinit/lifted-ui.git#1fc4abe2c2ae9115cc1467d8aff90f443f62465a",
       "dependencies": {
         "@chakra-ui/react": "^1.8.6",
         "@emotion/react": "^11.8.2",
@@ -31165,8 +31165,8 @@
       }
     },
     "@liftedinit/ui": {
-      "version": "git+ssh://[email protected]/stanleyjones/lifted-ui.git#11ff6ad2488a0876140f26072fd2e2c9d78a2596",
-      "from": "@liftedinit/ui@github:stanleyjones/lifted-ui#page-container",
+      "version": "git+ssh://[email protected]/liftedinit/lifted-ui.git#1fc4abe2c2ae9115cc1467d8aff90f443f62465a",
+      "from": "@liftedinit/ui@github:liftedinit/lifted-ui",
       "requires": {
         "@chakra-ui/react": "^1.8.6",
         "@emotion/react": "^11.8.2",

Not sure if this impacted production.

Memos should be an array not a string

From Malcolm:

Just tried to do a test transaction for an investor who is exercising his tokens, and got this error…

Image

The problem seems to be in the front-end (both ManyJS and Alberto) expecting memo to be a string instead of an array of strings.

See Hans' initial PR here: liftedinit/many-js#95

Wallet (Alpha)

Laundry List:

  • Update the Wallet to the latest MANY protocol.
  • Add transaction list to accounts.
  • Implement / Update / Improve on the wireframes and UX.

Component library

We should incorporate a customizable component library so we don't need to re-invent the wheel for common UI components and so that we can re-use these components for any future projects.

Resize Activity window

The Activity window displays a horizontal slider when the transaction amount is large, even if there is a lot of free space on the screen. We should make better use of screen real estate.

2023-08-11_09-27

Rework "Send" window flow

From @ebravick

In the "send" function we have a left-to-right flow, I have an element on the left and the "chooser" on the right that matches with that. So "TO" matches with "Select a contact". That works, and everyone gets it.

But next, we have "Amount" which is matched to "Select an asset". This is confusing for people, and always causes them to pause - they are expecting a "chooser" that is amounts, like 1,10,50 or some +/- button thing to fill in an amount.

The second element on the left should be "Asset Type" and that should be paired with "Select an Asset".

The amount should be moved down to be the 3rd element, and can have a selector or not if that makes sense from a UI perspective, or just a place to fill in the number.

Screenshot 2023-08-10 at 15 45 38

MS Edge user should be able to create a hardware account

From Slack (https://liftedinit.slack.com/archives/C02C91EMFDK/p1669833507384309):

Hey Lifted team! I have an Alberto wallet-specific question...not sure where to put it so putting it in #general I'm currently helping node owners create their wallet with HSMs...but one NP is having trouble getting his windows laptop to recognize the ledger device during the Alberto account creation process...nothing happens at this point and the request times out. (we've DL'ed FIDO U2F)

OS: Windows
Browser: Edge (?)

Update: a second user with a Ledger and Windows machine cannot get past the external security key prompt in creating an account on Alberto.

Current wallet setup instructions:
Lifted Node Program_ Wallet Setup.pdf

Responsive layout

We only have designs for one screen width right now.
We should have at least one more size to handle widths of 768px and up.

Transaction Detail view should scroll

Describe the bug

When launching the app from a transaction link, the view does not scroll. Approving a multi-signature transaction potentially requires resizing the browser or adjusting the scale if the approval button is off the screen.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://alberto.app/#/transactions/OBFnAAAAAg%3D%3D
  2. Adjust screen so approval button is not visible.
  3. Attempt to scroll down to click the button.

Expected behavior

The screen should scroll if there's content below the fold.

Screenshots

Screen Shot 2022-09-29 at 9 21 58 AM

Desktop (please complete the following information):

  • MacOS 12.6
  • Safari
  • 16.0

Additional context

Scrolling works correctly if you navigate to the transaction via the Accounts > Activity > Transaction flow.

Implement Accounts

Is your feature request related to a problem? Please describe.

  • We should be able to view accounts and create transactions on behalf of them.
  • we should be able to view the transactions once they've been created
  • we should be able to view the accounts assets/balance

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.