Sha256: 054760a7a684e79623d6fb0a3361279e544ec4ae80b74cfddb7b8b206999e52b
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
#!/usr/bin/env ruby require 'auction-ruby-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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auction-ruby-base-0.1.3 | examples/transaction_merge.rb |
auction-ruby-base-0.1.2 | examples/transaction_merge.rb |