# Advanced REPL tips
You must read cw20 tutorial first. This section builds on top of it.
You got your hands dirty with Node REPL. Now let's dig in a bit deeper of some advanced functions you can use.
# Interactive Discovery
So far you have been cut-and-pasting commands in the tutorials when using
has some nice introspection. And, we added some extra bonuses there. Just type
mine in the REPL and see the list of methods:
But how do I call them? What arguments do they take? You can always go look up the original helper file on the web (opens new window) and see all the types defined there.
But why switch to a browser and get distracted by something else?
There is a great
.type operator to show you this without ever leaving the REPL:
.type is a bit finicky and stops at the first dot, so this simpler version
doesn't work, just describes the
Armed with that knowledge, let's try to add an allowance and query it:
# Multiple Wallets
You know how we keep starting every session with:
What if I told you there was more you could do here? Don't believe me, just explore for yourself:
Yup... it takes a second argument. You don't HAVE to store your keys in
~/.coral.key. That's just
a default. It also means we could make 2 clients using different key files.
This let's us then try more complex use cases with the CW20 contract.
Sending back and forth,
That's enough hints from me. Time for you to go play with the contract on your own...