Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger contract in onchain #1734

Open
r3v4s opened this issue Mar 5, 2024 · 1 comment
Open

trigger contract in onchain #1734

r3v4s opened this issue Mar 5, 2024 · 1 comment
Assignees
Labels
help wanted Want to contribute? We recommend these issues.

Comments

@r3v4s
Copy link
Contributor

r3v4s commented Mar 5, 2024

Description

Just like #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

  1. use tx indexer to monitor chain activity
  2. (if /vm.m_addpkg is success) check whether deployed contract is grc20 or not
  3. (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

@r3v4s r3v4s self-assigned this Mar 5, 2024
@dongwon8247
Copy link
Member

@Kouteki Kouteki modified the milestone: 💡Someday/Maybe Oct 2, 2024
@Kouteki Kouteki added help wanted Want to contribute? We recommend these issues. and removed help wanted labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Want to contribute? We recommend these issues.
Projects
Status: Backlog
Status: Triage
Development

No branches or pull requests

3 participants