-
Notifications
You must be signed in to change notification settings - Fork 21
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
c46df44
commit 6f9fb54
Showing
1 changed file
with
20 additions
and
7 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 |
---|---|---|
|
@@ -41,17 +41,30 @@ Start the testnet with `make testnet`, and open the webapp `cd ./web && yarn dev | |
|
||
# Install Telescope | ||
|
||
telescope generate # the chainname-js | ||
cd chainname-js | ||
|
||
telescope install # amino, cosmos, cosmos_proto, gogoproto, google, ibc | ||
# attempt 2: cosmos, cosmos_proto, gogoproto, ibc | ||
telescope generate --name chain-js # TODO: how do I default set other information? like the __CHAINNAME__ ? | ||
``` | ||
? [__CHAINNAME__] Enter chain name in all lowercase, e.g. osmosis localchain | ||
? [__USERFULLNAME__] Enter author full name reece williams | ||
? [__USEREMAIL__] Enter author email [email protected] | ||
? [__MODULENAME__] Enter the module name chain-js | ||
? [__MODULEDESC__] Enter the module description desc of chain-js | ||
? [__USERNAME__] Enter your github username reecepbcups | ||
? [__ACCESS__] Module access? public | ||
? [__LICENSE__] Which license? MIT | ||
? [scoped] use npm scopes? Yes | ||
``` | ||
|
||
cd chain-js | ||
|
||
telescope install @protobufs/tendermint @protobufs/ibc @protobufs/google @protobufs/gogoproto @protobufs/cosmos_proto @protobufs/cosmos | ||
|
||
cp -r ../proto/* ./proto # I dislike this step, why? Can't I use the parent package for my custom modules, but then relative for the installed ones? | ||
|
||
telescope transpile | ||
telescope transpile --protoDirs=./proto --outPath=./src/codegen --config ../.telescope.json | ||
|
||
yarn add @cosmology/lcd | ||
|
||
# install pacakge in | ||
# install package | ||
yarn | ||
|
||
# publish | ||
|