npm i
npm run dev
The two packages, tendermint-spn-ts-client
and tendermint-spn-vue
, inside src/generated
were generated by Ignite CLI on top of Ignite Network chain.
import { useTendermintFundraising } from 'tendermint-spn-vue-client'
const { queryActions } = useTendermintFundraising()
import { useSpn } from 'tendermint-spn-ts-client'
const { spn } = useSpn()
const { signIn, signOut } = useSpn()
ignite.keplr // fully typed
import { _use, createIgnite } from 'tendermint-spn-ts-client'
function plugBlockEx(): { blockex: {} } {
return {
blockex: {} // implementation of the plugin goes here
}
}
let ignite = _use({
...createIgnite(),
...plugBlockEx()
})
ignite.blockex // blockex is fully typed
The generated code is on early alpha. This means a bunch of minor and couple of major issues are yet to be solved.