GithubHelp home page GithubHelp logo

vue-polkadot / apps Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 26.0 1.83 MB

wallet & governance dashboard for Polkadot & substrate-based networks in VueJS

Home Page: https://twitter.com/KodaDot

License: MIT License

JavaScript 0.11% HTML 0.40% Vue 81.54% TypeScript 17.80% Shell 0.04% Dockerfile 0.08% SCSS 0.04%
polkadot substrate vuejs wallet

apps's People

Contributors

dependabot[bot] avatar iamonuwa avatar obxium avatar ryan-gordon avatar snyk-bot avatar unknow112 avatar vikiival avatar yacare555 avatar yangwao avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apps's Issues

Develop apps into chrome as a chrome extension

Spec

Using vue-polkadot just like metamask.

  1. vue-polkadot/apps's functions are duplicate to polkadot/apps, just different implementation in some way, and we can do it better.
  2. apps has wallet functions, this makes vue-polkadot has the potential to be a metamask in substrate ecologies
  3. Chrome extensions are better than web pages...(you know, I input the link to my browser every time I'm trying to open the apps...)
  4. A nice wallet will reach every chain which is built by substrate, once we develop Kota into chrome, things will change, and substrate will be stronger because of Kota

explorer

  • chain info
    • summary
    • recent blocks
    • recent events
  • block details
    • single block detail
    • extrinsics details
    • events details
    • system events
    • logs
  • node info
    • node info summary
    • connected peers

Show versioning stamp on sidebar

We would like to exactly know which version you are running, so that's why we are looking to have version stamps somewhere.

Right now we are using own API for Vue Instance
yarn info @vue-polkadot/vue-api

Inspiration from polkadot.js.org/apps

image

Dotfiles-like settings for user

User can go to settings, upload their preferences.json file with previously saved settings and then will have preferences set.

Take it as key/value storage, sync-settings for KodaDot.

It could be latter extended like ipfs hash, submitted on-chain as storage string, whatever fits.

Price could be latter determined. Thanks to Jam to point me on this
image
"and then each extrinsic has weights, fees, deposits etc."

Verbose https://github.com/paritytech/substrate/blob/18f0be7c780568a046afab89404de72cd12b708d/frame/transaction-payment/src/lib.rs#L74

Easy way https://polkadot.js.org/api/start/api.tx.subs.html#payment-information
Also https://polkadot.js.org/api/substrate/rpc.html#payment

Mobile version seems broken

Looks like container is broken right now on mobile.
Best fix would to have fixed sidebar and scrolling content on the right.

ezgif-6-30fc280138ec

staking

  • Staking overview
  • Account actions
  • Payouts
  • Targets
  • Waiting
  • Validator stats - not sure in scope

Fix Travis deployment

For now travis CI is looking for package json in root of the repository
It should have change directory to dashboard and then run yarn (see #15 )

Make component tests

We have a lot of components since m1. At m2 we created a lot of functional components which could break anytime soon.
Follow https://vuejs.org/v2/guide/unit-testing.html

We should have tests.

  • What doesn't require Vue -> Move to TS
  • use Mocha or Jest

Unit tests for these components

  • accounts

  • addressbook

  • transfer

  • explorer

  • extrinsics

  • settings

  • shared - now consists of a lot of helper short-lived components, nice to have.

Create docker image

We would like to have a docker image with UI running, for easier infrastructure setup.

  • Send PR against develop branch, beware, it breaks often, you might keep it up to date, till we merge it
  • Include working Kusama network
  • Working up-to-date image, prefer one we are using here
  • Working with local node, inspiration
  • Send screenshot with working local node & Kusama
  • It should be open to the local network as we are testing it from the mobile on the same WiFi.

Looking forward to contributing from outside. ๐Ÿ™Œ

Continuous Notifications Systems

We are often looking at various packages updates

yarn info @polkadot/api time

We are also happy to receive webhooks from Netlify from deployments if they're successful tho, bc we are too lazy run build at local. Sometimes at yarn serve are no errors ๐Ÿ˜…

Format could be telegram bot :)

@vue/cli-plugin-babel@^4.2.3 breaks build

I've been updating packages and found new cli-plugin-babel breaks builds.

New @vue/cli-plugin-babel@^4.2.3 breaks build.
Now using @vue/cli-plugin-babel@^3.12.1.

Feel free to open PR

Transfer update - Jan 2020

Transfer module was updated recently so we should mirror new functionalities

  • tip for block author
  • Sign transaction without submission
    image

image

image

image

Compatibility table

Our state is

Address prefix

for default connected it's -1, should fetch api.registry.getChainProperties()

Also, to have compatible chains would be nice to include at least this
from recent upstream settings
image

Remote endpoints

we cover

Live networks

Kusama (Parity)
Kusama (Web3 Foundation)
Kulupu

Test networks

Westend
Edgeware Testnet
Flaming Fir

Denomination and formatting

We've got formatBalance.ts which does some small amount of magic.

Inspiration could be found here https://github.com/polkadot-js/common/blob/master/packages/util/src/format/formatBalance.ts

Right now we are struggling to allocate time on this and rather make this as bounty.

  • fix all the use cases in code right now which are using the denomination
  • repair components which are not using the denomination or not using denomination at all

Would be nice to follow and cover cases like this
image

Explorer finalized api is probably broken?

Running local Kusama node.

kusama_node | 2020-03-30 09:23:21 Idle (50 peers), best: #1669886 (0x7bbeโ€ฆ1554), finalized #1669882 (0x0f16โ€ฆf2fd), โฌ‡ 96.4kiB/s โฌ† 33.6kiB/s

image

You can notice from node logs best is 1669886 which is fine but finalized should be 1669882

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.