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

Quick and Dirty Implementation #1

Open
BlinkyStitt opened this issue Mar 11, 2022 · 1 comment
Open

Quick and Dirty Implementation #1

BlinkyStitt opened this issue Mar 11, 2022 · 1 comment

Comments

@BlinkyStitt
Copy link

BlinkyStitt commented Mar 11, 2022

I don't have time to make a proper PR for this right now, but thought that someone might found what I've written so far useful.

I pretty much just took the javascript code and directly translated it. Then made it work with brownie's contracts. It could definitely be cleaned up more since it isnt in JS and some of those patterns are a bit awkward in python. but its working for me on hardhat-fork.

https://gist.github.com/WyseNynja/b95840d089a8a38a613b9271858d0a66

@BlinkyStitt
Copy link
Author

My implementation has been cleaned up and released here: https://github.com/fp-crypto/ape-roll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant