Skip to content

Lesson 7: Getting link_token address from interface instead of mock #1652

Answered by cromewar
Nlferu asked this question in Q&A

You must be logged in to vote

Hello @Neftyr
An interface is something we use to interact with an already deployed contract but without having to implement all it's functions, so in order to interact with the link token interface, you should provide an address of the linktoken contract deployed (you will find the addresses on chainlink docs).

so in this case you will have to put the address on brownie-config and then on your script get it using config.

I hope this info might help.

Replies: 1 comment 2 replies

You must be logged in to vote
2 replies
@Nlferu

@cromewar

Answer selected by Nlferu
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