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

Bandersnatch RingVRF #4

Closed
xlc opened this issue Jun 14, 2024 · 2 comments
Closed

Bandersnatch RingVRF #4

xlc opened this issue Jun 14, 2024 · 2 comments

Comments

@xlc
Copy link
Member

xlc commented Jun 14, 2024

support Bandersnatch RingVRF in the Utils package
may need to wait for it to be ready and use Rust / C++ binding to access the library

https://github.com/w3f/ring-vrf/tree/master/bandersnatch_vrfs
https://github.com/paritytech/polkadot-sdk/blob/master/substrate/primitives/core/src/bandersnatch.rs
https://github.com/davxy/bandersnatch-vrfs-spec/blob/main/example/src/main.rs

@qiweiii
Copy link
Contributor

qiweiii commented Jul 3, 2024

@qiweiii
Copy link
Contributor

qiweiii commented Jul 11, 2024

  • swift-bridge is nice but unfortunately generated code does not work, added an issue but no response yet
  • cbindgen should work as well, but require some work to setup ffi, also with types and pointer handling problems, a poc here for testing whether it works

@qiweiii qiweiii closed this as completed Jul 29, 2024
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

2 participants