secp256k1.cr v0.1.0
secp256k1
Crystal bindings for the Bitcoin Core implementation of secp256k1 library.
Prerequisites
Applications that using these bindings must have access to the installed libsecp256k1
library.
Since these bindings are designed for the Bitcoin Core implementation, there is no guarantee of working with others.
Installation
-
Add the dependency to your
shard.yml
:dependencies: secp256k1: github: qualterz/secp256k1.cr
-
Run
shards install
Usage
require "secp256k1"
- Native bindings. See native examples.
- Crystal wrapper. See wrapper examples.
Documentation
In case of using native bindings, original examples and documentation can be used for reference.
Deprecated library functions will not be wrapped, so if there is need to use them, they can be used natively.
Development
The bindings are generated automatically by executing make generate_lib
shell command.
The libgen is used as a bindings generator.
Contributing
- Fork it (https://github.com/qualterz/secp256k1.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- qualterz - creator and maintainer
secp256k1.cr
- 0
- 0
- 0
- 0
- 1
- about 1 year ago
- December 25, 2022
MIT License
Thu, 07 Nov 2024 00:37:58 GMT