update README, add data
This commit is contained in:
parent
7bb21c4795
commit
241c163876
|
@ -11,6 +11,7 @@ Basecoin is a sample [ABCI application](https://github.com/tendermint/abci) desi
|
||||||
|
|
||||||
1. [Installation](#installation)
|
1. [Installation](#installation)
|
||||||
1. [Using the plugin system](#using-the-plugin-system)
|
1. [Using the plugin system](#using-the-plugin-system)
|
||||||
|
1. [Using the cli](#using-the-cli)
|
||||||
1. [Tutorials and other reading](#tutorials-and-other-reading)
|
1. [Tutorials and other reading](#tutorials-and-other-reading)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
@ -56,6 +57,13 @@ An example is worth a 1000 words, so please take a look [at this example](https:
|
||||||
Note for now it is in a dev branch.
|
Note for now it is in a dev branch.
|
||||||
You can use the same technique in your own repo.
|
You can use the same technique in your own repo.
|
||||||
|
|
||||||
|
## Using the CLI
|
||||||
|
|
||||||
|
The basecoin cli can be used to start a stand-alone basecoin instance (`basecoin start`),
|
||||||
|
or to start basecoin with tendermint in the same process (`basecoin start --in-proc`).
|
||||||
|
It can also be used to send transactions, eg. `basecoin sendtx --to 0x4793A333846E5104C46DD9AB9A00E31821B2F301 --amount 100`
|
||||||
|
See `basecoin --help` and `basecoin [cmd] --help` for more details`.
|
||||||
|
|
||||||
## Tutorials and Other Reading
|
## Tutorials and Other Reading
|
||||||
|
|
||||||
See our [introductory blog post](https://cosmos.network/blog/cosmos-creating-interoperable-blockchains-part-1), which explains the motivation behind Basecoin.
|
See our [introductory blog post](https://cosmos.network/blog/cosmos-creating-interoperable-blockchains-part-1), which explains the motivation behind Basecoin.
|
||||||
|
|
|
@ -177,7 +177,7 @@ func main() {
|
||||||
{
|
{
|
||||||
Name: "account",
|
Name: "account",
|
||||||
Usage: "Get details of an account",
|
Usage: "Get details of an account",
|
||||||
ArgsUsage: "",
|
ArgsUsage: "[address]",
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
return cmdAccount(c)
|
return cmdAccount(c)
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[
|
||||||
|
"base/chainID", "test_chain_id",
|
||||||
|
"base/account", {
|
||||||
|
"pub_key": [1, "B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"],
|
||||||
|
"coins": [
|
||||||
|
{
|
||||||
|
"denom": "blank",
|
||||||
|
"amount": 9007199254740992
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"address": "D397BC62B435F3CF50570FBAB4340FE52C60858F",
|
||||||
|
"last_height": 0,
|
||||||
|
"last_round": 0,
|
||||||
|
"last_signature": null,
|
||||||
|
"last_signbytes": "",
|
||||||
|
"last_step": 0,
|
||||||
|
"priv_key": [
|
||||||
|
1,
|
||||||
|
"39E75AA1CF7BC710585977EFC375CD1730519186BD231478C339F2819C3C26E7B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"
|
||||||
|
],
|
||||||
|
"pub_key": [
|
||||||
|
1,
|
||||||
|
"B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"address": "4793A333846E5104C46DD9AB9A00E31821B2F301",
|
||||||
|
"last_height": 0,
|
||||||
|
"last_round": 0,
|
||||||
|
"last_signature": null,
|
||||||
|
"last_signbytes": "",
|
||||||
|
"last_step": 0,
|
||||||
|
"priv_key": [
|
||||||
|
1,
|
||||||
|
"13A04A552ABAA2CCFA1F618CF9C97F1FD59FC3EE4968FE87DF3637C9B0F2FAAA93766F08BE7135E78DBFFA76B61BC7C52B96256EB4394A224B4EF8BCC954DE2E"
|
||||||
|
],
|
||||||
|
"pub_key": [
|
||||||
|
1,
|
||||||
|
"93766F08BE7135E78DBFFA76B61BC7C52B96256EB4394A224B4EF8BCC954DE2E"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,7 +0,0 @@
|
||||||
[
|
|
||||||
"base/chainID", "test_chain_id",
|
|
||||||
"base/account", {
|
|
||||||
"pub_key": [1, "67D3B5EAF0C0BF6B5A602D359DAECC86A7A74053490EC37AE08E71360587C870"],
|
|
||||||
"balance": 9007199254740992
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue