Skip to content

Commit 42e0343

Browse files
committed
Add usage examples to the readme
1 parent 517644e commit 42e0343

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ libsecp256k1 is built using autotools:
6969
$ make check # run the test suite
7070
$ sudo make install # optional
7171

72+
Usage examples
73+
-----------
74+
Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`.
75+
For experimental modules, you will also need `--enable-experimental` as well as a flag for each individual module, e.g. `--enable-module-ecdh`.
76+
* [ECDSA example](examples/ecdsa.c)
77+
* [Schnorr Signatures example](examples/schnorr.c)
78+
* [Deriving a shared secret(ECDH) example](examples/ecdh.c)
79+
7280
Test coverage
7381
-----------
7482

0 commit comments

Comments
 (0)