forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfe1606
commit 0bde720
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# cosmos-sdk-cli | ||
Create a new blockchain project based on cosmos-sdk with a single command. | ||
|
||
--- | ||
|
||
# Installation | ||
|
||
```shell | ||
go get github.com/cosmos/cosmos-sdk | ||
cd $GOPATH/src/github.com/cosmos/cosmos-sdk | ||
make all | ||
``` | ||
|
||
This will install a binary cosmos-sdk-cli | ||
|
||
# Creating a new project | ||
|
||
**cosmos-sdk-cli init ** _Your-Project-Name_ | ||
|
||
This will initialize a project, the dependencies, directory structures with the specified project name. | ||
|
||
### Example: | ||
```shell | ||
cosmos-sdk-cli init testzone | ||
``` | ||
|
||
This will ask for a remote path for the project - usually github.com/your_user_name/testzone and will create a new testzone application under $GOPATH/src/github.com/your_user_name/testzone along with Makefile | ||
|
||
```shell | ||
cd $GOPATH/src/github.com/your_user_name/testzone | ||
make | ||
``` | ||
This will create two binaries(testzonecli and testzoned) under bin folder. testzoned is the full node of the application which you can run, and testzonecli is your light client. | ||
|