PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-staking/dist/src/coreDao
Просмотр файла: descriptor.d.ts
import { BIP32Interface } from '@bitgo/utxo-lib';
/**
* Script type for a descriptor.
*
* See https://docs.coredao.org/docs/Learn/products/btc-staking/design#p2shp2wsh-output
*/
export type ScriptType = 'sh' | 'sh-wsh' | 'wsh';
/**
* Create a multi-sig descriptor to produce a coredao staking address
* @param scriptType segwit or legacy
* @param locktime locktime for CLTV
* @param m Total number of keys required to unlock
* @param orderedKeys If Bip32Interfaces, these are xprvs or xpubs and are derivable.
* If they are buffers, then they are pub/prv keys and are not derivable.
* @param neutered If true, neuter the keys. Default to true
*/
export declare function createMultiSigDescriptor(scriptType: ScriptType, locktime: number, m: number, orderedKeys: (BIP32Interface | Buffer)[], neutered?: boolean): string;
//# sourceMappingURL=descriptor.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!