Giter Site home page Giter Site logo

solana-labs / obsolete-dontuse-example-webwallet Goto Github PK

View Code? Open in Web Editor NEW
35.0 21.0 29.0 3.76 MB

Example Solana Web-based Wallet

Home Page: https://solana-example-webwallet.herokuapp.com/

License: MIT License

JavaScript 75.84% CSS 24.16%
solana blockchain javascript js

obsolete-dontuse-example-webwallet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsolete-dontuse-example-webwallet's Issues

Can't sign a transaction with a Ledger device

Problem

Currently, transactions are signed with an insecure and temporary, in-browser keypair.

Proposed solution

Sign transactions with a keypair in a secure enclave, such as a Ledger Nano S.

Change confirm transaction input submit behavior

Problem

Submitting a transaction signature for confirmation causes a page refresh

Expected

No page refresh, submit an async request to confirm a valid transaction.

Steps to Reproduce

  1. Enter a transaction signature
  2. Press enter

Fix transaction confirmation

Problem

The confirm transaction section is not working correctly. After pasting a valid transaction signature, the input validation shows an error.

Proposed Solution

  • Check if the signature input validation is incorrectly using public key input validation (that's my guess)
  • Add an error message to help users know why the signature was not considered valid

npm install failing

Getting this error, when going through installation steps

Example app: Web Wallet

00:19:17 โœ” pk: ((HEAD detached at v1.0.0)) example-webwallet $ npm install
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'node-gyp/bin/node-gyp'

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pk/.npm/_logs/2019-07-12T14_19_32_966Z-debug.log

QA current wallet functionality

I'd like it if a small group of people who understand the needs can QA current work and assess remaining gaps and bugs CC @jstarry Besides you, who else would be good to pull in for QA, stakeholder-wise? Happy to help here if there isn't anyone better..

Use wallet.solana.com as a trusted display for hardware wallets

Forwarding an issue created by @aeyakovenko here: https://github.com/solana-labs/ledger-app-solana/issues/3

Problem

Hardware wallets require parsing and displaying messages inside the TPM to confirm the signing request.

Solution

We could use wallet.solana.com as a trusted display as well. Basically decode and show the hash and the transaction details in our hosted wallet, confirm the hash on the ledger. Users should confirm the transaction hash from another machine, like a mobile device.

If solana.com is compromised users would not be able to sign messages, but funds should remain secure as long as the local machine is not compromised either.

Another idea:

Maybe this is overkill, but the cli transactions could require a co-signature from the web wallet. The web wallet key is not referenced in any instructions, but the signature would force the user to look at the web wallet with their phone preferably.

Support embedded token requests

dApps should be able embed the web wallet in an iframe to request tokens. The web wallet should allow this and then communicate to the dApp that it should be closed (when transaction succeeds)

Network Explorer Dropdown

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.