@electronprotocol/contracts
v1.0.5
Published
Electron Typescript Library
Downloads
83
Readme
@electron/contracts
yarn add @electron/contracts
Electron Network TypeScript Bundle
Clients
All contracts are scoped under the contracts
object:
import { contracts } from "@electron/contracts"
const { ElectronNativePrediction } = contracts
Then each contract will have clients, for example for ElectronNativePrediction
:
const {
ElectronNativePredictionClient,
ElectronNativePredictionMessageComposer,
ElectronNativePredictionQueryClient
} = ElectronNativePrediction
Credits
Using CosmWasm TS Codegen:
- @cosmwasm/ts-codegen for generated CosmWasm contract Typescript classes