1.0.2 • Published 1 year ago

@neutron-org/tge-client v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

TGE Typescript client

So example:

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",
});

How to update

  • have node >= 20.0.0 installed
  • have your contracts in tge-contracts folder
  • run $ npx @neutron-org/contracts2ts --src ./tge-contracts --out ./<path_to_this_code>/src
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago