File tree Expand file tree Collapse file tree 4 files changed +1124
-958
lines changed
Expand file tree Collapse file tree 4 files changed +1124
-958
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This is a basic library to support creating and manipulating programs written in
1010
1111## Installation
1212
13- Install anything between python 3.8 and 3.11 .
13+ Install Python 3.9 or higher and make sure you have ` pip ` installed .
1414Then run
1515
1616``` bash
@@ -20,11 +20,19 @@ pip install uplc
2020### Secp256k1
2121
2222If you want to use the builtin functions for verification of ECDSA and Schnorr signatures,
23- follow the instructions to install ` libsecp256k1 ` with schnorr support enabled:
23+ follow the instructions to install ` libsecp256k1 ` with schnorr support enabled. We provide a script to do this for you on Linux and MacOS.
24+
25+ ``` bash
26+ curl -sSL https://raw.githubusercontent.com/OpShin/uplc/refs/heads/master/install_secp256k1.sh | bash
27+ ```
2428
25- https://github.com/input-output-hk/cardano-node-wiki/blob/main/docs/getting-started/install.md#installing-secp256k1
2629
2730This makes sure that the exact same version is used that is used in the ` cardano-node ` .
31+ Then, install the python bindings for ` secp256k1 ` with
32+
33+ ``` bash
34+ pip install python-secp256k1-cardano
35+ ```
2836
2937## Usage
3038
You can’t perform that action at this time.
0 commit comments