Giter Site home page Giter Site logo

pangea-cli's Introduction

pangea-cli

standard-readme compliant Build Status (master)

Pangea Command Line Interface Utils

Table of Contents

Security

Install

you need to have at least node version 8.11.3

Install the package with npm install pangea-cli -g.

Usage

  • pangea sk:new create new signing key
  • pangea sk:pw change password of encrypted signing key
  • dapp:stream use this for active development - it will stream the DApp from your local computer to the device. Make sure to run this command in a project made with the DApp template.
  • dapp:build use this to bundle your code and sign it
  • pangea:log used for debugging, will stream logs from panthalassa mostly used by the core team and not for DApp development

Maintainers

@florianlenz

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2018 Bitnation

pangea-cli's People

Contributors

florianlenz avatar hunght avatar xsttx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

xsttx i-voyager

pangea-cli's Issues

[cli] dapp stream

Feture request

We need the ability to transport our code to the DApp engine were it will be executed.

We must be able to use the pangea cli to execute a command (dapp:stream) that will pick up the local configuration file for building /& bundling the project. When bundling happened the DApp must be signed with the signing key that got passed into the dapp:stream command. When signing happened the dapp will be send to the device over a libp2p connection that will be initialized by the device.

Acceptenace criteria

  • command dapp:stream takes a singing key as it's param, ask for the password to decrypt it and use the local build file to build the project (@hunght)
  • sign the bundled code and send it to the device (@florianlenz)

[cli] dapp build

Feature

The pangea cli should be able to build a DApp to an installable bundle.
The command (dapp:build) should take a singing key file as it's first params and --dev as an flag.
By default we build for production. The build is signed with the given signing key.

Acceptance criteria

[signing_keys] generate signing keys

Hi,

we need to generate signing keys as specified here.

Acceptance criteria

  • Generate a signing key with sk:new
  • Change password of a singing key withsk:pw
    • when a password of the singing key is changed it should be written in a new file. check the specs for the file format.
  • heavily tested with automated tests (we use jest)

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.