We have a bunch of support code in the agoric package that helps with making transactions and queries on chain. However they're not exported because they were never carefully factored or designed for longevity.
Package up an abstraction for transactions and querying of the chain, for use in JS code. It should also provide abstractions for smart wallet use and potentially common use cases.
It could be in the ui-kit repo but since the domains are in agoric-sdk it's probably best to keep it here. They should be pretty low level and not have to change much once published. This also allows them to be published in sync with agd and Cosmos SDK updates.
What is the Problem Being Solved?
We have a bunch of support code in the
agoric
package that helps with making transactions and queries on chain. However they're not exported because they were never carefully factored or designed for longevity.We've repeated some of that code in ui-kit, a3p and now https://github.com/Agoric/agoric-sdk/pull/9078/files/58141ac551088158552d5ff2d9805f66ba3aaa66#diff-88e9ae2b981c19291ac56e9300af03daeed1e1edee3793aecae9a377fdc5745b
Description of the Design
Package up an abstraction for transactions and querying of the chain, for use in JS code. It should also provide abstractions for smart wallet use and potentially common use cases.
It could be in the ui-kit repo but since the domains are in agoric-sdk it's probably best to keep it here. They should be pretty low level and not have to change much once published. This also allows them to be published in sync with
agd
and Cosmos SDK updates.Security Considerations
Scaling Considerations
Test Plan
Upgrade Considerations