webycash-sdk

The native SDK for webcash protocol integration. Webcash operations, replace, mining, and wallet management across every major platform.

What is webycash-sdk

webycash-sdk is the core native library for integrating with the webcash protocol. It handles webcash parsing, replace operations, mining proof-of-work, and wallet management.

Built once in Rust and shipped across platforms through native FFI bindings. One capability surface for apps, agents, services, and integrations.

The webylib CLI and webyc miner are built on the same core. The SDK is the reusable layer you embed when you want webcash capabilities inside your own software.

Architecture

+------------------------------+
| Your application |
+------------------------------+
| Language bindings |
| Swift, Kotlin, Python... |
+------------------------------+
| C FFI layer |
+------------------------------+
| webycash-sdk (Rust core) |
+------------------------------+

No JVM, no interpreter, no runtime dependency layer added on top of the native core.

Package managers

PlatformPackage managerInstall
RustCargocargo add webycash-sdk
Node.js / Webnpmnpm install webycash-sdk
Pythonpippip install webycash-sdk
JavaMaven / Gradlewebycash-sdk
.NETNuGetdotnet add package webycash-sdk
AppleSPM (preferred) / CocoaPodswebycash-sdk
GoGo modulesgo get github.com/webycash/sdk-go

Platforms

iOS

Swift

macOS

Swift / Rust

watchOS

Swift

tvOS

Swift

visionOS

Swift

Android

Kotlin

Linux

Rust

Windows

Rust / C#

FreeBSD

Rust

Language bindings

Rust

cargo add webycash-sdk

Swift

SPM (preferred) / CocoaPods

Kotlin

Gradle

TypeScript

npm install webycash-sdk

Python

pip install webycash-sdk

Go

go get github.com/webycash/sdk-go

C++

vcpkg / CMake

C#

dotnet add package webycash-sdk

Java

Maven Central

Quick start

Rust
use webycash_sdk::prelude::*;

let client = WebcashClient::new(NetworkMode::Production);
let health = client.health_check().await?;
println!("Difficulty: {}", health.difficulty_target);
TypeScript
import { WebcashClient } from "webycash-sdk";

const client = new WebcashClient("production");
const target = await client.target();
console.log(`Difficulty: ${target.difficulty_target}`);
Python
from webycash_sdk import WebcashClient

client = WebcashClient("production")
stats = client.stats()
print(f"Total mined: {stats['total_mined']}")

Documentation