CosmWasm / ts-codegen

Convert your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.
https://cosmology.zone/products/ts-codegen
Apache License 2.0
116 stars 29 forks source link

recoil example or add to codegen #75

Open pyramation opened 2 years ago

pyramation commented 2 years ago

for recoil example, your code export will need a chain.ts

should have this selector in it:

export const cosmWasmClientSelector = selector({
  key: 'cosmWasmClient',
  get: () => CosmWasmClient.connect(CHAIN_RPC_ENDPOINT),
})