Giter Site home page Giter Site logo

beautyfree / p2p-wallet-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p2p-org/p2p-wallet-web

0.0 2.0 1.0 487.96 MB

A Open Source Browser Based Solana Wallet.

License: MIT License

Shell 0.04% JavaScript 1.66% TypeScript 97.44% CSS 0.30% HTML 0.56%

p2p-wallet-web's Introduction

P2P Wallet Prototype

A Open Source Browser Based Solana Wallet. Version "0.1a Wormhole Hackathon" Built on top of Solana, ProjectSerum

Live demo available at github-pages

P2P Wallet Prototype supports a number features such as:

  • Create/Access Wallet with seed. Your private keys are only stored on your current computer or device.
  • Create Wrapped tokens addresses
  • Displaying balances of SOL token and Wrapped tokens
  • Displaying the value of assets in dollars.
  • Send and receive SOL token and Wrapped tokens
  • Transaction history
  • Transaction details
  • HD (BIP32,BIP39) support
  • QR code generation
  • Nice UI

Further development:

  • One-tap access to swap assets
  • Improving security
  • Wallet Connect integration
  • Send/Receive Wrapped tokens to/from Ethereum Blockchain
  • DeFi support

Project overview

We use lerna to manage packages which are residing under the packages directory. To lint and format our code, such tools as eslint and prettier are used.

p2p-wallet-web
├── .github
├── .husky
├── node_modules
├── src
└── packages
    ├── core
    ├── eslint-config
    ├── eslint-config-react
    ├── example
    ├── sail
    ├── tsconfig
    ├── ui
    └── web

Packages bear the following purposes:

  • core : all general-purpose logic, including type definitions, app-wide context providers, etc.
  • eslint-config : eslint general configuration
  • eslint-config-react : eslint configuration for React-specific code
  • sail : a collection of custom hooks and other application-wide logic
  • tsconfig : Typescript configurations
  • ui : a collection of commonly used components and storybook to view them in the browser.
  • web : wallet web interface

Build it yourself

If you'd rather build the application yourself, please ensure you have nodejs/npm/yarn already installed locally.

  • Clone the repo
git clone https://github.com/p2p-org/p2p-wallet-web.git
  • Install dependencies with yarn.
cd p2p-wallet-web
yarn
  • Project uses lerna for package management. You will need to build the packages first before starting development.
yarn build
  • Rename .env.development.example in the web package to .env.development and fill it with your environmental variables.
cd packages/web
mv .env.development.example .env.development
  • Once packages have been built, you can start the project locally. Open http://localhost:3000/ to see it in the browser. If having build errors, make sure that your Node.js version is at least v11 or higher .
cd packages/web
yarn start
  • To start storybook change directory to packages/ui and start the storybook server. Open http://localhost:6006/ to see it in the browser.
cd packages/ui
yarn storybook

Development

Install the following extensions in your code editor for linting and ease of work with the code:

  • eslint
  • prettier
  • stylelint
  • linaria

Contributing

The best way to submit feedback and report bugs is to open a GitHub issue. Please be sure to include your operating system, device, version number, and steps to reproduce reported bugs. Keep in mind that all participants will be expected to follow our code of conduct.

p2p-wallet-web's People

Contributors

beautyfree avatar b1acksun avatar turisap avatar nickshtefan avatar agroznykh avatar dependabot[bot] avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

Forkers

elgatos2

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.