Skip to content

HOW TO MAKE A REACH CONTRACT RECOGNIZE AND USE A NON-NETWORK TOKEN LAUNCHED OUTSIDE THE CONTRACT #1060

Discussion options

You must be logged in to vote

"I want the program to read a real token's info from the network, without a participant being required to provide that token or any token info"

This is not possible. Programs cannot learn anything that doesn't come from participants. You need to have a participant publish a Token value. That value doesn't have to be a "test" token. You could give it 31566704 if you wanted to use USDC --- https://algoexplorer.io/asset/31566704

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jeapostrophe
Comment options

You must be logged in to vote
4 replies
@jeapostrophe
Comment options

@kcelestinomaria
Comment options

@kcelestinomaria
Comment options

@jeapostrophe
Comment options

Comment options

You must be logged in to vote
2 replies
@jeapostrophe
Comment options

@kcelestinomaria
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants