I need an ETH-USD price oracle for my vyper contract. So far, the oracle services I've found, like chainlink, are written in solidity. Is it possible to use a solidity oracle in a vyper contract? How can I do this?

Would I have to build my own oracle?

1 Answer 1


You can declare the oracle contract interfaces in Vyper, then call them like you would any other contract: https://vyper.readthedocs.io/en/latest/structure-of-a-contract.html#contract-interfaces

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.