From 63ea5cee19a9644cba22c7cc5f766f211c282a53 Mon Sep 17 00:00:00 2001 From: Sergey Ratiashvili Date: Mon, 17 Apr 2023 06:58:02 +0200 Subject: [PATCH] chore: doc --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 39ecad1..31bf293 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ -# TGE Typescript client \ No newline at end of file +# TGE Typescript client +So example: +```typescript + +const client = await SigningCosmWasmClient.connectWithSigner( + `https://rpc.rehearsal2.rs-testnet.polypore.xyz`, + offlineSigner, + { + gasPrice, + } +); + +const auctionClient = new NeutronAuction.Client(client, "neutron1unrweswtzadqmxz5qt2ws44rpf39kwqtk064vy0u5n0lkmsqdrxs4f65ha"); +const res = await auctionClient.setTokenInfo(address, { + atom_denom: "uatom", + usdc_denom: "uusd", +}); + +``` \ No newline at end of file