b4n1 / b4n1-net
Sovereign transport SDK: sealed UDP frames with HMAC, AEAD and acknowledgements. One native core, thin wrappers for PHP and Go.
v0.4.5
2026-11-27 07:34 UTC
Requires
- php: >=8.1
- ext-ffi: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
📦 b4n1-net
Sovereign transport. Sealed UDP frames with HMAC, AEAD and acknowledgements — one native core, six SDK wrappers. No third-party broker, no cloud dependency, no telemetry.
📦 Installation — 6 registries, 1 core
| Registry | Language | Package | Command |
|---|---|---|---|
| PyPI | Python 3.10+ | b4n1-net |
pip install b4n1-net |
| npm | Node.js | b4n1-net |
npm install b4n1-net |
| NuGet | .NET / C# | B4n1Net |
dotnet add package B4n1Net |
| RubyGems | Ruby | b4n1net |
gem install b4n1net |
| Packagist | PHP 8.1+ | b4n1/b4n1-net |
composer require b4n1/b4n1-net |
| Go | Go 1.21+ | b4n1-net/sdks/go |
go get github.com/B4N1-com/b4n1-net/sdks/go |
All six packages ship the same native core (pre-compiled, no compiler needed). The SDKs are thin wrappers that spawn the bundled binary.
🚀 Quick Start
# Python from b4n1net import B4n1Net net = B4n1Net() print(net.info())
// Node.js const { B4n1Net } = require('b4n1-net'); const net = new B4n1Net(); console.log(net.info());
// .NET / C# using B4n1Net; var net = new B4n1NetClient(); Console.WriteLine(net.Info());
# Ruby require 'b4n1net' net = B4n1Net.new puts net.info
// PHP $net = new \B4n1Net\Client(); echo $net->info();
// Go import b4n1net "github.com/B4N1-com/b4n1-net/sdks/go" net := b4n1net.New() fmt.Println(net.Info())
⚙️ Configuration
The SDK resolves the native binary automatically. Override with an environment variable:
export B4N1NET_BIN_PATH=/path/to/b4n1net-linux-amd64
🖥 Platform Support
| Platform | Architectures |
|---|---|
| Linux | x86_64 |
Pre-compiled binaries for additional platforms (macOS, Windows) are tracked as a follow-up.
