Skip to content

Instantly share code, notes, and snippets.

@Row-Bear
Row-Bear / extract_auth_xdr.py
Created January 20, 2026 13:25
Extract Soroban auth entries with Python
"""This example demonstrates how to sign auth entries and extract them as XDR strings.
This allows for passing the signed auth entries to a relayer for transaction submission.
See https://soroban.stellar.org/docs/learn/authorization
"""
from stellar_sdk import (
scval,
Keypair,
SorobanServer,
@Row-Bear
Row-Bear / check-auth-puzzle.rs
Created July 26, 2024 21:08 — forked from kalepail/check-auth-puzzle.rs
I didn't like my hair anyway...
#![no_std]
use soroban_sdk::{
auth::{Context, CustomAccountInterface},
contract, contracterror, contractimpl, contracttype,
crypto::Hash,
token,
xdr::ToXdr,
Address, Bytes, BytesN, Env, TryIntoVal, Vec,
};
@Row-Bear
Row-Bear / stellar-core.toml
Created February 22, 2024 10:56
stellar-core.toml example config. Adjust as needed
HTTP_PORT=11626
PUBLIC_HTTP_PORT=false
NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015"
DATABASE="sqlite3://stellar.db"
# Stellar Pubnet Validators
[[HOME_DOMAINS]]
HOME_DOMAIN="stellar.org"