Skip to content

Can I move assets from ERTP to the cosmos layer for sending via IBC? #8692

Answered by dckc
dckc asked this question in Q&A
Discussion options

You must be logged in to vote

yes, the vbank works both ways.

The JS API starts with bankManager, among the permissioned contract deployment capabilities. This very powerful capability allows "the contract to manipulate nearly all Cosmos assets in the chain".

We're working on using typedoc for reference docs (#8343). Meanwhile, github navigation is pretty good, so let's start at bankManager in the core types. I guess it takes a few hops, but we then get to...

E(bankManager).getBankForAddress(addr). This give us a bank; i.e. a capability to manipulate all registered assets of an account with the given address. Here registered means that the BLD stakers previously decided to add the asset to the published.agoricNames.vb…

Replies: 1 comment

Comment options

dckc
Dec 22, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by dckc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant