Skip to content

zig-bitcoin/bitcoin-primitives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-primitives

Libraries and primitives for Bitcoin, written in Zig.

Zig Official Package Manager

To install bitcoin-primitives, you need to run the following command in your root folder with build.zig:

zig fetch --save git+https://github.com/zig-bitcoin/bitcoin-primitives#f3af13008b088796697fc656e26d8c2ddf73dc18

where f3af13008b088796697fc656e26d8c2ddf73dc18 is the commit hash.

Then, in your build.zig, you need to add our module:

const bitcoin_primitives = b.dependency("bitcoin-primitives", .{
    .target = target,
    .optimize = optimize,
});

exe.root_module.addImport("bitcoin-primitives", bitcoin_primitives.module("bitcoin-primitives"));

About

Libraries and primitives for Bitcoin, written in Zig.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages