Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + gno.land: a blockchain for timeless code and fair open-source.
Just like https://github.com/gnolang/gno/pull/1275, this register pattern allows us to call several grc20 tokens without manually importing it.
HOWEVER, it requires that token(or token's function) must be registered to registry contract which (AFAIK) can only be done by making new transaction call manually.
One way to resolve this limit is, re use architecture from faucet during certain process like below
use tx indexer to monitor chain activity
(if /vm.m_addpkg is success) check whether deployed contract is grc20 or not
(if it is grc20) proceed (make tx -> sign tx -> broadcast tx) using similar system from faucet
As you can see, it requires bit of 3rd party resources and honestly it would better if we can handle this on-chain.
If we can trigger other contract without jumping in from outside, we can do some automation I think.
WDYT ??
cc @zivkovicmilos @moul @dongwon8247 @notJoon @mconcat
Description
Just like https://github.com/gnolang/gno/pull/1275, this
register
pattern allows us to call several grc20 tokens without manually importing it. HOWEVER, it requires that token(or token's function) must be registered to registry contract which (AFAIK) can only be done by making new transaction call manually.One way to resolve this limit is, re use architecture from faucet during certain process like below
As you can see, it requires bit of 3rd party resources and honestly it would better if we can handle this on-chain.
If we can trigger other contract without jumping in from outside, we can do some automation I think. WDYT ??
cc @zivkovicmilos @moul @dongwon8247 @notJoon @mconcat