whiteblock / cli Goto Github PK
View Code? Open in Web Editor NEWCLI application for the Whiteblock Genesis platform.
Home Page: https://genesis.readme.io
License: MIT License
CLI application for the Whiteblock Genesis platform.
Home Page: https://genesis.readme.io
License: MIT License
wb get contracts should not use a file for its storage. We should consider using the state store set_extra
to store this state
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)
wb get build
will give the following information
example:
{
"testnetid": "39bb917d-a26a-40a4-9635-52f840b6eeb7",
"blockchain": "ethereum",
"extras": {
"defaults": {
"files": {}
},
"prebuild": {}
},
"resources": [
{
"cpus": "",
"memory": ""
}
],
...
}
Describe the bug
When trying to download Whiteblock CLI stable build error appears
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The link should redirect to the binary file for download
Desktop (please complete the following information):
Finish the SQL command which communicates with the api.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.