{"id":13822584,"url":"https://github.com/Warchant/sr25519-crust","last_synced_at":"2025-05-16T17:31:12.595Z","repository":{"id":38147978,"uuid":"184883800","full_name":"Warchant/sr25519-crust","owner":"Warchant","description":"C bindings over RUST sr25519 https://github.com/w3f/schnorrkel","archived":true,"fork":false,"pushed_at":"2022-06-10T03:14:00.000Z","size":90,"stargazers_count":30,"open_issues_count":8,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T08:08:41.870Z","etag":null,"topics":["bindings","c","ristretto255","rust","schnorr","sr25519"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Warchant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-04T11:00:47.000Z","updated_at":"2024-07-23T18:16:17.000Z","dependencies_parsed_at":"2022-07-25T01:16:15.833Z","dependency_job_id":null,"html_url":"https://github.com/Warchant/sr25519-crust","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Warchant%2Fsr25519-crust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Warchant%2Fsr25519-crust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Warchant%2Fsr25519-crust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Warchant%2Fsr25519-crust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Warchant","download_url":"https://codeload.github.com/Warchant/sr25519-crust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225442813,"owners_count":17475115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bindings","c","ristretto255","rust","schnorr","sr25519"],"created_at":"2024-08-04T08:02:07.311Z","updated_at":"2024-11-19T23:30:39.558Z","avatar_url":"https://github.com/Warchant.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Warchant/sr25519-crust.svg?branch=master)](https://travis-ci.org/Warchant/sr25519-crust)\n[![Gitter](https://badges.gitter.im/sr25519-crust/community.svg)](https://gitter.im/sr25519-crust/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n# sr25519-crust\n\nC bindings over [RUST implementation of sr25519 (schnorrkel)](https://github.com/w3f/schnorrkel) - Schnorr-on-ristretto255 scheme.\n\n## Build\n\n1. Install rust compiler (nightly), `cargo`:\n    ```bash\n    curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly\n    source $HOME/.cargo/env\n    rustup install nightly\n    rustup default nightly\n    ```\n2. `mkdir build \u0026\u0026 cd build`\n3. Options;\n   - `-DTESTING=[ON|OFF]` - enable or disable build of tests.\n   - `-DCMAKE_BUILD_TYPE=[Release|Debug]` - select build type.\n   - `-DBUILD_SHARED_LIBS=[TRUE|FALSE]` - build shared/static library. \n   \n   ```bash\n   cmake .. -DCMAKE_BUILD_TYPE=Release\n   ```\n4. Build and install library: \n   ```\n   sudo make install\n   ```\n\n## Docs\n\nHeader with comments will be generated in `build/include/sr25519/sr25519.h`.\n\n## Examples\n\n- [Keypair derivation](./test/derive.cpp)\n- [Sign/Verify](./test/ds.cpp)\n- [Keypair from seed](./test/keypair_from_seed.cpp)\n- [Verifiable random function](./test/vrf.cpp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWarchant%2Fsr25519-crust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWarchant%2Fsr25519-crust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWarchant%2Fsr25519-crust/lists"}