# Using Cosmos SDK
# Connect to Demo Net
For easy testing, we have a demo net online you can use to deploy and run your contracts. There is a simple faucet with REST API that will release tokens to try it out.
To verify this is currently running, make sure the following URLs are all working for you:
We have set up two native tokens -
ustake) for being a validator and
ucosm) for paying fees. There are also 3 "ERC20-like" tokens set initialized
at start (you can add more):
JADE. (TODO: link to explorer)
We currently don't have any frontends (lunie, hubble, cosmostation, etc) that work with the demo net, but feel free to deploy one pointing to our rpc/lcd servers and we will list it.
# Connecting with a Go CLI
If you are used to the Cosmos SDK go tooling (eg
gaiacli), and have a Go toolchain
installed locally, this may be the easiest for you. If you have a JS developer toolchain
and prefer Node REPL, check the next section.
First, compile the
wasmcli binary from source:
(If you have any problems here, check your
make install will copy
$HOME/go/bin by default, please make sure that is set up in your
PATH as well, which should
be the case in general for building Go code from source.)
Now, open up another window and set up your client:
# Connecting with a Node REPL
Beyond the standard CLI tooling, we have also produced a flexible TypeScript library CosmJS, which runs in Node.js as well as in modern browsers and handles queries and submitting transactions.
Along with this library, we produced @cosmjs/cli, which is a super-charged
Node console. It supports
await, does type checking for helpful error messages, and preloads many CosmJS utilities.
If you are comfortable with the Node console, you will probably find this easier and more powerful than the CLI tooling.
Full usage and installation instructions are on the README, but here is a short version for those who want to run from source:
Using the REPL:
# Further Information on the Cosmos SDK
wasmd are forks of
gaiad, which are the binaries that run the Cosmos Hub (source). These represent an instance of a blockchain that utilizes all of the stable features of the Cosmos SDK. As such,
wasmd have all the same features (plus WASM smart contracts obviously). If you'd like to learn more about accessing those features take a look at the Gaia docs. If you'd like to learn more about getting stared with the Cosmos SDK in general, take a look at the series of Tutorials that show how to build custom modules for application-specific blockchains.