Skip to content

Instantly share code, notes, and snippets.

View saltyskip's full-sized avatar
🤠
Decentralizing

Andrei Terentiev saltyskip

🤠
Decentralizing
View GitHub Profile
let wif = ""
let pubkeyCompressed = "028013a81902a823dec80b54b5e1591b8d2fa359e9024934dae604aaa3be7dc020"
let pubkeyUncompressed = "048013a81902a823dec80b54b5e1591b8d2fa359e9024934dae604aaa3be7dc0202c487e634ab286179f6fefd9689e30465b6bbf658408928ddb01a419a81bf168"
let addressCompressed = "1KM68pTTgD172nJqykCUPpMA7hT7aGnn7w"
let addressUncompressed = "1KRhiKNai3ke3hZgSPZ5TpJoSJvs1aZfWo" //funds are here
var allAvailableUtxos = [
InputUtxo(
//
// CollapsibleStackView.swift
// TemplateApp
//
// Created by Andrei Terentiev on 4/3/22.
//
import Foundation
import SwiftUI
import UniformTypeIdentifiers
@saltyskip
saltyskip / uniffi_vs_c_bindings.md
Last active February 5, 2026 15:21
UniFFI vs C Bindings: Objects with Methods (sync + async) — side-by-side comparison

UniFFI vs C Bindings: Objects with Methods (sync + async)

Same functionality. Same runtime behavior. One is ~40 lines. The other is ~400+.


UniFFI — Rust (the only definition you write)

#[derive(uniffi::Object)]