How to send $ETH in 19 lines of Python
Sending ETH between wallets takes about 19 lines of Python using the web3 library connected to an Ethereum node through Infura's HTTPS endpoint. The steps are: initialize a Web3 object, normalize sender and recipient addresses with toChecksumAddress, fetch the nonce, build a transaction dict with value converted via toWei and a gas price in gwei, sign it with a private key kept in Replit secrets, and broadcast it with sendRawTransaction. The result can then be checked on Etherscan. The private key must never appear in public code.
Related posts
- Light Up Your Builds with Render Webhooks
Render mediumAdept
A Raspberry Pi Pico W–driven 32×32 LED panel lights up with distinct animations whenever Render webhook events fire for build_started, build_ended, deploy_started and deploy_ended. Because Render requires HTTPS webhook endpoints and the Pico W only speaks plain HTTP, a small proxy service on Render receives the webhook and forwards the JSON payload to the device via a router port forward. Render expects a 2xx response within about 15 seconds and retries failed deliveries automatically. Setup steps cover the dashboard configuration and the delivery history view, and suggested next steps include signature validation on the proxy.
- How to build and authenticate an AI API using Modal, Neon, and Unkey
Neon mediumAdept
An OpenAI Whisper transcription API built with FastAPI and deployed on Modal, which persists transcripts to a Neon serverless Postgres database via psycopg2. Requests are gated by API keys verified through Unkey's Python SDK. The walkthrough covers defining the Modal image and stub, writing uploads to a temp file for Whisper, creating the database and table with neonctl and psql, passing the connection string as a Modal secret, and checking the Authorization header against Unkey before returning a permanent link to the transcript.
- Building Private Processing for AI tools on WhatsApp
Meta Engineering hardMasterPrivate Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them. Requests run inside confidential VMs, a type of Trusted Execution Environment, with Confidential Compute mode GPUs behind them. Clients authenticate with anonymous credentials and reach the service through an Oblivious HTTP third-party relay that hides their IP and prevents targeting a specific user to a specific machine. They then open an RA-TLS session whose attestation is checked against a third-party log of approved binaries. The service is stateless and forward secure, bans remote shell access, filters logs leaving the CVM, and uses multi-party-reviewed builds, all guided by a threat model covering insiders, supply-chain vendors and malicious users.
- Introducing the commerce payments protocol
Shopify Engineering mediumAdeptThe Commerce Payments Protocol, built by Coinbase and Shopify on Base, brings card-style authorize-and-capture flows onchain using an immutable escrow smart contract between payer and receiver. Operators submit transactions and pay gas on behalf of merchants but are constrained: payers sign a hash of the payment terms (receiver, token, max amount, expiries, operator), signatures cannot be replayed, payers can reclaim funds after authorization expiry, and each operator's funds sit in separate buckets. Six operations (authorize, capture, charge, void, reclaim, refund) cover the payment lifecycle, with partial captures and ERC-3009 signature-based token collection enabling gasless USDC payments. The protocol powers Shopify's USDC payment method and is open for extension via operator, receiver and token-collector contracts.
- Save Resend email events to your Turso Database
Turso mediumAdeptResend email webhook events (sent, delivered, bounced, opened, clicked, etc.) can be persisted to a Turso database through a small Hono/Node.js handler using @libsql/client. The walkthrough creates `events` and `clicks` tables. It parses the webhook payload, generates UUIDs, flattens recipient arrays to CSV, and inserts click details separately for `email.clicked` events. Local testing uses a Hookdeck CLI tunnel. Production advice covers verifying signatures with svix, queueing events for background processing, adding indexes, and deploying to a cloud host.