Skip to content

Instantly share code, notes, and snippets.

@saltyskip
Created November 30, 2020 08:07
Show Gist options
  • Save saltyskip/63cc33924db177437146856d0ca2a45a to your computer and use it in GitHub Desktop.
Save saltyskip/63cc33924db177437146856d0ca2a45a to your computer and use it in GitHub Desktop.
let txTrust = BcomBlockchainTransactionBuilder(signingWallet: pr.selectedWallet!.masterWallet!, chainAssetProtocol: .bch, amount: 0.00001547, assetId: "bch", destination: pr.toAddress!)
.buildBitcoinCash(utxos: utxos, satsPerByteFee: 1, changeAddress: pr.toAddress!) { baseResult in
baseResult.buildSlp() { slpResult in
slpResult
.withSLPUtxos()
.withSpentSLPUtxos()
}
.withSpentUtxos()
.withChangeUtxos()
}
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment