You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET bindings and high-level library for [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/master/src/kernel), providing access to Bitcoin Core's consensus and validation logic.
3
+
.NET bindings for [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/master/src/kernel), providing access to Bitcoin Core's consensus and validation logic.
4
4
5
+
⚠️🚧 This library is still under construction. ⚠️🚧
5
6
6
-
⚠️🚧 This library is still under contruction. ⚠️🚧
7
-
8
-
This library uses [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/master/src/kernel) which is in an experimental state, do not use for production purposes.
9
-
10
-
## Overview
11
-
12
-
BitcoinKernel.NET brings Bitcoin Core's robust consensus engine to .NET applications through a clean, idiomatic C# API. Built on top of libbitcoinkernel, it provides everything from low-level P/Invoke bindings to high-level abstractions for common Bitcoin operations.
7
+
This library uses [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/master/src/kernel) which is in an experimental state, do not use for production purposes.
13
8
14
9
## Packages
15
10
16
11
| Package | Version | Description |
17
12
|---------|---------|-------------|
18
-
|**BitcoinKernel**| 0.1.2 | High-level API with fluent builder pattern |
19
-
|**BitcoinKernel.Core**| 0.1.2 | Managed wrappers and native bindings |
20
-
21
-
22
-
## Quick Start
23
-
24
-
### Installation
13
+
|**BitcoinKernel**| 0.2.0 | Managed wrappers and native bindings |
25
14
26
15
```bash
27
16
dotnet add package BitcoinKernel
28
17
```
29
18
30
-
or
31
-
32
-
```bash
33
-
dotnet add package BitcoinKernel.Core
34
-
```
35
-
36
19
## Architecture
37
20
38
-
The library is organized in three layers:
21
+
The library is organized in two layers:
39
22
40
23
1.**BitcoinKernel.Interop** - P/Invoke bindings to libbitcoinkernel (bundled, not published separately)
41
-
2.**BitcoinKernel.Core** - Managed C# wrappers with automatic memory management
42
-
3.**BitcoinKernel** - High-level facade with fluent API
24
+
2.**BitcoinKernel** - Managed C# wrappers with automatic memory management
Explore the [examples](examples/) directory for complete working samples:
69
67
70
-
-**[BasicUsage](examples/BasicUsage/)** - Getting started with the high-level API
71
-
-**[BlockProcessing](examples/BlockProcessing/)** - Block validation and chain management
68
+
-**[BasicUsage](examples/BasicUsage/)** - Getting started with chain queries
69
+
-**[BlockProcessing](examples/BlockProcessing/)** - Block validation and processing
72
70
73
71
## Tools
74
72
75
73
### Kernel Bindings Test Handler
76
74
77
-
A conformance test handler for Kernel bindings Test handler framework, see [tools/kernel-bindings-test-handler](tools/kernel-bindings-test-handler/) for details.
75
+
A conformance test handler for the Kernel bindings test framework, see [tools/kernel-bindings-test-handler](tools/kernel-bindings-test-handler/) for details.
78
76
79
-
**Usage:**
80
77
```bash
81
78
dotnet run --project tools/kernel-bindings-test-handler
82
79
```
83
80
84
-
The handler communicates via stdin/stdout and is designed for automated conformance testing.
85
-
86
81
## Building from Source
87
82
88
83
### Prerequisites
@@ -109,7 +104,7 @@ This package includes pre-built `libbitcoinkernel` binaries for:
109
104
- macOS (x64, ARM64)
110
105
- others will follow
111
106
112
-
For other platforms, for now, you'll need to build libbitcoinkernel from the [Bitcoin Core repository](https://github.com/bitcoin/bitcoin).
107
+
For other platforms, you'll need to build libbitcoinkernel from the [Bitcoin Core repository](https://github.com/bitcoin/bitcoin).
113
108
114
109
## Documentation
115
110
@@ -135,4 +130,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
135
130
136
131
- Built on [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/master/src/kernel) from Bitcoin Core
137
132
138
-
**Note**: This library provides access to Bitcoin Core's consensus engine. The libbitcoinkernel and this package is stil experimental and not ready for production use.
133
+
**Note**: This library provides access to Bitcoin Core's consensus engine. libbitcoinkernel and this package are still experimental and not ready for production use.
0 commit comments