Sha256: b7a19edb70593af2781007a1df4b6ab2d7fada1dea5d055429809bfe18df1940
Contents?: true
Size: 466 Bytes
Versions: 21
Compression:
Stored size: 466 Bytes
Contents
#!/usr/bin/env ruby require 'stellar-base' master = Stellar::KeyPair.master destination = Stellar::KeyPair.master tx1 = Stellar::Transaction.payment({ account: master, destination: destination, sequence: 1, amount: [:native, 20] }) tx2 = Stellar::Transaction.payment({ account: master, destination: destination, sequence: 2, amount: [:native, 20] }) hex = tx1.merge(tx2).to_envelope(master).to_xdr(:base64) puts hex
Version data entries
21 entries across 21 versions & 2 rubygems