ts-sdk
ts-sdk copied to clipboard
TypeScript-based client for interacting with the Nibiru blockchain
In case no fields specified for the query return nothing instead of using default field list. Example with default fields list: https://github.com/NibiruChain/ts-sdk/blob/dabe094fcaafaf5c23668616e10905c960832347/src/gql/query/oracle.ts#L59-L68
Source: http://nibiru.fi/docs/dev/tools/nibijs/classes/StableSwap.html ## Problem None of the variable names have explanations, and the hyperlink isn't active  ## Solution: Good Example https://nibiru.fi/docs/dev/tools/nibijs/functions.html#testnet 
We can display the current value of a position from the current state of the amm object and the position object. Creating this function in the ts-sdk allows the web-app...
(Not from your change, but I just noticed) We should import this string rather than hard-coding it here. That way, if we change the version of `@nibiruchain/nibijs` and `@nibiruchain/protojs`, we'll...
ci(protocgen.sh): test `yarn proto-gen` upon updates to the `ts-sdk` dependencies or `protocgen.sh`.
- Related: #150
### Exception Handling Common examples: - [ ] "incorrect account sequence" | Account sequence mismatch errors | Example here: https://github.com/cosmos/cosmos-sdk/issues/11597 - [ ] "insufficient funds" - [ ] "out of...