Skip to content

Instantly share code, notes, and snippets.

View argjv's full-sized avatar

Jorge argjv

  • FAlconX
  • San Francisco, California, United States
View GitHub Profile
### Keybase proof
I hereby claim:
* I am argjv on github.
* I am valdeiglesiasj (https://keybase.io/valdeiglesiasj) on keybase.
* I have a public key ASD8swCqGZpWTgSIn9i4_utclYQRJhPGRSTi3qIYuxqj9wo
To claim this, I am signing this object:
@argjv
argjv / zecSaplingMultiSig.js
Last active October 17, 2020 15:42
Using bitgo-utxo-lib to create a multisig Zcash Sapling compatible transaction
const bitGoUTXO = require('bitgo-utxo-lib');
// Choose the configuration for the transaction builder
const zecTestNetwork = bitGoUTXO.networks.zcashTest;
const builder = new bitGoUTXO.TransactionBuilder(zecTestNetwork);
// Required Zcash parameters
builder.setVersion(bitGoUTXO.Transaction.ZCASH_SAPLING_VERSION); // 4
builder.setVersionGroupId(parseInt('0x892F2085', 16));