@neutron-org/tge-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @neutron-org/tge-client

Weekly Downloads

15

Version

1.0.2

License

MIT

Unpacked Size

410 kB

Total Files

46

Last publish

Collaborators

  • quasisamurai
  • zavgorodnii-hadronlabs
  • nhpd
  • pr0n00gler
  • sotnikov-s
  • albert.andrejev
  • ratik