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

"Readme updated for secp256k1-php" #28

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,26 @@ git clone [email protected]:bitcoin-core/secp256k1 && \
make && sudo make install && \
cd ../
```
```bash

```
git clone [email protected]:Bit-Wasp/secp256k1-php && \
cd secp256k1-php/secp256k1 && \
phpize && \
./configure --with-secp256k1 && \
make && sudo make install && \
cd ../../
```

(Optional) PHP8.x.x versions are likely to get a compilation error. Repo compatible with PHP 8.x.x.
```bash
git clone https://github.com/enderkus/secp256k1-php.git && \
cd secp256k1-php/secp256k1 && \
phpize && \
./configure --with-secp256k1 && \
make && sudo make install && \
cd ../../
```

Enable extension by adding the following line to your `php.ini` file
```
extension=secp256k1.so
Expand Down