Giter Site home page Giter Site logo

dashpay / proposal-generator Goto Github PK

View Code? Open in Web Editor NEW
15.0 33.0 63.0 2.04 MB

Dash Client-Side Governance Proposal Generator

Home Page: https://proposal.dashevo.org/

JavaScript 51.04% CSS 9.07% HTML 38.19% Shell 1.12% Dockerfile 0.59%
frontend

proposal-generator's Introduction

Dash Proposal Generator

Build Status

Get Started

Before being able to use this repository, you will need to build the @dashevo/dashcore-lib for browser which is a required dependency. This can be done easily by running:

npm install
npm run build

You will find in the vendor folder the file index.js which index.html reference. This file handle a browserified version of @dashevo/dashcore-lib aswell as some inner logic that you can find in "js/index.js".

Dockerized

A Dockerfile has been included in order to build the site deterministically, as well as a script to run the Docker site build, and place the resulting artifacts in the dist/ directory. To run the full Dockerized build, run this script:

bash scripts/build.sh

proposal-generator's People

Contributors

alex-werner avatar jaydp17 avatar kamuelafranco avatar nmarley avatar pvrooyen avatar quantumexplorer avatar seigler avatar snogcel avatar strophy avatar vitaliytr avatar

Stargazers

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

proposal-generator's Issues

Lots of errors in console in Safari

This is just a few seconds after page finished loading:
screen shot 2017-11-01 at 00 00 07
And it keeps growing really fast.

As far as I can tell it's Safari only issue, works fine in Firefox for me.

Simplify the work workflow

Hi, currently the proposal generator tries to do too much and effectively doesn't work anyway once you put in the hash from the prepare statement. What the site tries to do is force the user to wait for 6 confs (after you paste the hash into the site) then I suppose it gives you final string to submit in the wallet. This is all awkward stuff and unnecessary stuffing about. All this proposal generator is good for is coming up with the gobject prepare .... statement based on the user's input and site's validation on the initial screen. Once it gives you the blob, the user will drop it in their core wallet console and the fee is paid hooking the proposal on chain, after that it only takes ONE conf to be valid and the next step the user should do is alter the original blob and replace the word prepare with submit and append the TX hash they got from the console and shove it back into the console.

It makes no sense to continue this flow in the proposal generator, instead the page which currently requests you input the TX hash should instead take that TX and immediately formulate the second command, eg gobject submit .....TX-hash and advise the user to paste it into the console when they have one confirmation on their previous TX, That's it ! There's nothing more to it. The proposal generator does not need to follow the chain and count 6 confs and validate the transaction hash, all of that is nonsense, the user just needs to be able to count 1 and wait a few minutes. Simplify this page, thus making it work better.

add source link to page footer

Since this is a high(ish) profile site used by the Dash community, I'm almost certain that a link to the source will be appreciated.

improve documentation

Needs better title/description, what the app does and in this case, live app URL, as well as Travis-CI build badge

create a real test suite

Currently the Travis-CI test suite is simply "true", although the build will fail if the npm install or build process breaks.

feat: P2SH payouts after Core v18

Dash Core v18 will enable payouts to P2SH addresses (e.g. multisig). Currently, the proposal generator has validation on the address field to (correctly) prevent such addresses as being considered valid. Once v18 is live and the DIP24 fork activates, the restriction should also be lifted in the proposal generator.

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.