GithubHelp home page GithubHelp logo

davidqw / shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from parity-js/shell

0.0 0.0 0.0 10.92 MB

[⚠ Looking for a new maintainer] Parity UI - The Parity Dapp shell, browser & launcher (Electron app)

License: GNU General Public License v3.0

HTML 0.42% CSS 4.45% JavaScript 94.57% Shell 0.47% NSIS 0.08%

shell's Introduction

Parity UI

⚠ Parity Technologies is looking for a new maintainer for this repo. If you are interested, please get in touch at [email protected].

⚠ Parity UI is currently only compatible with Parity Ethereum <v2.0. Read about possible alternatives here.

GPLv3

Join the chat!

Get in touch with us on Gitter: Gitter: Parity

Or join our community on Matrix: Riot: +Parity

Be sure to check out our wiki for more information.


About Parity UI

Parity UI is a User Interface desktop application for Parity Ethereum Client >=v1.10. It features a Wallet supporting Ether and ERC-20 Tokens, a Contract development environment, and so much more. Parity UI will download and run Parity Ethereum Client in the background if it is not found on the system. By default Parity UI will try connect to a Parity Ethereum node using Websocket port 8546. You can use alternative ports, see CLI Options below.

You can download Parity UI here or follow the instructions below to build from source.

Parity UI alternatives

View and send Ether and tokens

As Parity UI is not working properly with Parity Ethereum >2.0, you can use MyCrypto Desktop app connected to a local full node to interact with your accounts. Follow these steps to connect MyCrypto Desktop to a local Parity Ethereum node. Parity UI accounts' JSON keystore files can be found at the following location:

  • Mac OS X: ~/Library/Application\ Support/io.parity.ethereum/keys/ethereum/
  • Linux: $HOME/.local/share/io.parity.ethereum/keys
  • Windows 7/10: %HOMEPATH%/AppData/Roaming/Parity/Ethereum/keys

Import an account to MyCrypto by selecting the corresponding JSON keystore file. You will require your account's password to unlock it (originally setup with Parity UI).

Smart contract development

You can use Remix connected to a local Parity Ethereum full node as an alternative to Parity UI for smart contracts development and deployment. Make sure that Remix is allowed to connect to your node by setting up the right JSON-RPC cors policy.

Install from the snap store

In any of the supported Linux distros:

sudo snap install parity-ui

Or, if you want to contribute testing the upcoming release:

sudo snap install parity-ui --beta

And to test the latest code landed into the master branch:

sudo snap install parity-ui --edge

Build from source

npm install
npm run electron

You should see the Electron app popping up.

Build the binary (Optional)

One further, albeit optional step is to create an OS-specific binary. This is done with the following command:

npm run release

This command may take some time. Once finished, you will see binaries for your OS in the dist/ folder.

Developing

The best Developer Experience is achieved by running:

parity --ui-no-validation # Warning: INSECURE. Only use it when developing the UI.
npm start

A new browser tab will open on http://localhost:3000 with the UI, and this tab will refresh on any code change. This DX allows fast iterations.

If you want to test the rendering in an Electron window, run the following command in parallel with the previous command:

npm run electron:dev

This will spawn an Electron window serving http://localhost:3000. Same thing, the Electron window will refresh on any code change.

CLI Options

All other flags passed to Parity UI will be passed down to parity when trying to launch it.

Operating Options:
    --no-run-parity
        Parity UI will not attempt to run 
        the locally installed parity.

    --ui-dev
        Parity UI will load http://localhost:3000. 
        WARNING: Only use this is you plan on developing on Parity UI.

    --ws-interface=[IP]
        Specify the hostname portion of the WebSockets server 
        Parity UI will connect to. IP should be an 
        interface's IP address. (default: 127.0.0.1)

    --ws-port=[PORT]
        Specify the port portion of the WebSockets 
        server Parity UI will connect to. (default: 8546)

shell's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar jacogr avatar amaury1093 avatar general-beck avatar axelchalon avatar tbaut avatar devops-parity avatar tomusdrw avatar alixeb avatar niklasad1 avatar mkoloberdin avatar

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.