Giter Club home page Giter Club logo

cli's People

Contributors

araskachoi avatar atoulme avatar dreamcodez avatar leibniz137 avatar n8wb avatar renaynay avatar vuongptnguyen avatar whiteblockio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cli's Issues

wb get contracts

wb get contracts should not use a file for its storage. We should consider using the state store set_extra to store this state

wb get peers

Create a command that will pass to RPC to get the peer counts and peers (enode addrs, public keys, etc.)

> wb get peers
> [{
    caps: ["eth/62", "eth/63"],
    id: "7212960d31b47b6a2def5c5ab43d5589d740d31a9e5551d96ba851c597470dc80b74486b083a9aa1607827c89ecddd24806abe8754279efa6163963298ed158f",
    name: "Getc/v6.0.1-2-gcc14651/linux/go1.12.2",
    network: {
      inbound: true,
      localAddress: "10.1.0.2:30303",
      remoteAddress: "10.1.0.1:52576",
      static: false,
      trusted: false
    },
    protocols: {
      eth: {
        difficulty: 241712177,
        head: "0x5900b24acd801907724b6969c8e7321ed4bdfaa8d263de6e7956fa2b3bb0c0fd",
        version: 63
      }
    }
}, {
    caps: ["eth/62", "eth/63"],
    id: "953fce9961b155e4cea8700a7f43704ae1ec6f01b4beca5725417317eff74b21412043ef4ba5dfe42d461209e89f07ad22e15bf4a645b565b4e6226e35e45ba5",
    name: "Getc/v6.0.1-2-gcc14651/linux/go1.12.2",
    network: {
      inbound: true,
      localAddress: "10.1.0.2:30303",
      remoteAddress: "10.1.0.1:33664",
      static: false,
      trusted: false
    },
    protocols: {
      eth: {
        difficulty: 241440438,
        head: "0xe57fa001132abb4323cf2808455318d7e04bcc43d8f3651ef1936139437187db",
        version: 63
      }
    }
}]```

For ethereum, the call would be `admin.peers`
should get some more details on the other blockchains and find the commands (if supported) for those)

Create a `wb get build` command

wb get build will give the following information

  • testnet ID
  • built network (geth, pantheon, artemis, syscoin, etc.)
  • allocated resources
  • extras
  • additional build information from the current built network

example:
{
"testnetid": "39bb917d-a26a-40a4-9635-52f840b6eeb7",
"blockchain": "ethereum",
"extras": {
"defaults": {
"files": {}
},
"prebuild": {}
},
"resources": [
{
"cpus": "",
"memory": ""
}
],
...
}

Broken Link to

Describe the bug
When trying to download Whiteblock CLI stable build error appears

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://github.com/Whiteblock/cli/blob/dev/README.md'
  2. Section 'Latest Stable Build (amd64)'
  3. Click on ' https://storage.cloud.google.com/genesis-public/cli/master/bin/macos/amd64/whiteblock'
  4. See error 'No such object: genesis-public/cli/master/bin/macos/amd64/whiteblock'

Expected behavior
The link should redirect to the binary file for download

Desktop (please complete the following information):

  • OS: [macOS 10.15.1]
  • Browser [Brace 1.0]

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.