Skip to content

Commit

Permalink
telescope setup guide base
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 30, 2024
1 parent c46df44 commit 6f9fb54
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions simapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 reecepbcups@gmail.com
? [__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
Expand Down

0 comments on commit 6f9fb54

Please sign in to comment.