Seamlessly bridge privacy and scalability by integrating RAILGUN Privacy Wallet with Thirdweb Engine. Automate shielded transactions and manage private gas funding through a robust, self-hosted backend workflow that maintains complete on-chain anonymity.
Funds a fresh wallet with gas in ETH) on any chain (default:Base) without leaving an onchain link back to your source wallet. This workflow shields USDC from your source wallet on Arbitrum into RAILGUN, waits in the shielded pool to build anonymity, then creates a new destination wallet and unshields the USDC to it via a public relayer. From there it swaps the USDC to ETH and bridges it to the chain of your choice ### Quick Setup: 1. Import your wallet or use your B3OS Treasury Wallet as the source wallet that holds USDC on Arbitrum 2. Set the amount of USDC to shield and use for funding 3. Choose how long to wait in the shielded pool before unshielding (longer \= stronger privacy) 4. Pick the destination chain where the new wallet should receive ETH 5. Set the target ETH amount to leave in the new wallet 6. Confirm the RAILGUN relayer to use for the unshield step 7. Run the manual trigger whenever you want to fund a fresh wallet 8. Test and publish!
RAILGUN Query Balance
ActionQuery private token balances in a RAILGUN wallet. Returns all ERC20 token balances or a specific token balance. Ideal for: pre-flight validation, UI display, balance verification, unshield planning.
Railgun Relayer Unshield
ActionGasless unshield ERC20 tokens from Railgun private balance to any public address. B3OS relayer pays gas; fee deducted from token amount. No ETH required on recipient. Ideal for: anonymous gas funding, fresh wallet funding, privacy-preserving distributions.
Thirdweb Engine: Send Transaction
ActionSend a raw transaction via your Thirdweb Engine. Takes pre-encoded calldata, destination address, and value. Queues the transaction and returns a queueId. Ideal for: arbitrary contract interactions, value transfers, custom calldata not covered by write-contract.
Thirdweb Engine: Write Contract
ActionExecute a write transaction on a smart contract via your Thirdweb Engine. Queues the transaction and returns a queueId for tracking. Use get-transaction-status to poll for confirmation. Ideal for: state-changing contract calls, token transfers, minting.
Thirdweb Engine: List Backend Wallets
ActionList all backend wallets configured in your Thirdweb Engine instance. Returns wallet addresses, types, and labels. Ideal for: discovering available wallets, populating wallet selection dropdowns, verifying wallet setup.
Thirdweb Engine: Get Transaction Status
ActionCheck the status of a queued transaction on your Thirdweb Engine. Returns current status, transaction hash (once sent), and on-chain result (once mined). Ideal for: polling after a write-contract or send-transaction action, workflow conditions on tx status.