Dogecoin Core or Libdogecoin integration on MSVC for app development #3359
-
Hello everyone, Issue Question This is my first time I post on Github under any discussion section. If there is such a thing as an etiquette and broke it, I apologize in advance. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Dogecoin Core is not a library, so doing any tight coupling by reusing the source code can be risky, because it doesn't export an API cleanly. Every release does provide script verification routines as Instead, look at Dogecoin Core as an isolated service that is capable of reaching a sovereign, validated view of the chain that you can then consume either through the p2p interfaces (for example using There is a feature target for If your goal is to have such independent binary (eventually) for your front-end application, I think it is wise to ask specific implementation questions to https://github.com/dogecoinfoundation/libdogecoin, so that the people that develop that can help you realize your goals in a safe way. I'll attempt to answer questions directly related to communicating with the Dogecoin Core process, though remember that this should only be a temporary situation until
The state of Dogecoin Core is discoverable through RPC (by querying for example
You can use the check for the above described 3 states to detect state in a separate thread.
This is fine, no worries. |
Beta Was this translation helpful? Give feedback.
-
Check out the getting_started.md guide if you haven't already. I use Visual Studio Code for libdogecoin development on Windows. Install the necessary dependencies/extensions, such as Visual Studio Build Tools and CMake. Look for "For Windows" in Once the extensions are installed, open the libdogecoin directory in Visual Studio. It will automatically detect the Alternatively, you can execute build commands using the Visual Studio Developer Command Prompt; look for "For Windows" in As Patrick suggests, let's continue this discussion on the libdogecoin GitHub repository. We'll be glad to assist you there. |
Beta Was this translation helpful? Give feedback.
Dogecoin Core is not a library, so doing any tight coupling by reusing the source code can be risky, because it doesn't export an API cleanly.
Every release does provide script verification routines as
dogecoinconsensus-0.dll
, but to my knowledge there are no production implementations with that at this time - probably because it is not feature-complete to even parse a transaction. It's also not seen any development for a decade.Instead, look at Dogecoin Core as an isolated service that is capable of reaching a sovereign, validated view of the chain that you can then consume either through the p2p interf…