Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Manual to use the API #978

Closed
fabregasf opened this issue Sep 23, 2021 · 1 comment
Closed

Manual to use the API #978

fabregasf opened this issue Sep 23, 2021 · 1 comment

Comments

@fabregasf
Copy link

Hey, how are the works?
I have doubts about the project, first you have a doc to guide how to instantiate this API. I'm newbi in c/c++ programming, attending some classes to improve my knowlegment (structs, classes, typedefs, data structures ..)
I have a single project here with the secp256k1.h included? There is more header I should include to make it works great? I'm trying to get the instance as show below, in my code.

#include "secp256k1.h"
// lib do C++
secp256k1_context* ctx;
typedef SECP256K1_WARN_UNUSED_RESULT initialize;

Thanks in advance for all.

@elichai
Copy link
Contributor

elichai commented Sep 23, 2021

Hi :)
You can see #748 for usage examples,
don't forget you also need to compile this library and provide it to the linker.

If you have any specific errors / problems feel free to comment them here

@bitcoin-core bitcoin-core locked and limited conversation to collaborators Jan 5, 2023
@real-or-random real-or-random converted this issue into discussion #1189 Jan 5, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@elichai @fabregasf and others