Connect to the following live Arkade Operator instances. This allows you to test your integration against a live environment without the need for a local setup.
When creating a wallet, you can use an existing private key or generate a new one. For production applications, always use a secure key management solution rather than hardcoded keys.
Copy
Ask AI
import { SingleKey, Wallet } from '@arkade-os/sdk'// use your private key in hex format const identity = SingleKey.fromHex('secret')// create a wallet instanceconst wallet = await Wallet.create({ identity, arkServerUrl: 'https://mutinynet.arkade.sh',})// You can receive bitcoin offchain instantly! No inbound liquidity!const address = await wallet.getAddress()console.log('Ark Address:', address)