here's a snippet of code that creates a transaction between two nodes on Nostr using ApplePay.
```swift
import WalletKit
let senderWallet = Wallet(privateKey: "yourPrivateKey")
let recipientAddress = "recipientNostrAddress"
let zapAmount = 100 // amount in sats
if senderWallet.canSign() {
let payment = Payment(to: recipientAddress, amount: zapAmount)
if let signedTransaction = try? senderWallet.send(payment) {
print("Transaction Sent Successfully! \n Signed Transaction Hex String - \(signedTransaction.hex)")
} else {
print("Failed to create signed transaction")
}
} else {
print("Can't sign transaction!")
}
```