-
Notifications
You must be signed in to change notification settings - Fork 225
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
Entropy Solidity SDK & usage example #1124
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
contract_addr: 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | ||
eos-evm-testnet: | ||
geth_rpc_addr: https://api.testnet.evm.eosnetwork.com/ | ||
contract_addr: 0xD42c7a708E74AD19401D907a14146F006c851Ee3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by: deployed on some other networks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToDo: contract manager support
@@ -0,0 +1,79 @@ | |||
// SPDX-License-Identifier: Apache 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is copy/paste of the interface from PythRandom.
I've called this IEntropy to match the new name scheme. I'll circle back and rename the other contracts as well (didn't want to intermingle in this one PR).
I wanted to make an example for how to use entropy. In order to do that, I needed to extract out the interface of the entropy contract into an SDK.
There is still work to do on the example. I've only added the solidity contract for the moment and checked that it builds. I think we also need to generate ABIs in the solidity SDK and then show how to interact with the example contract via typescript. I think that can wait for a future PR though because there's already a decent amount of stuff here.