Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2024 Changes in this version + const CoinType + const CoinTypeV1 + const ExternalKeychain + const InternalKeychain + const MultiSigPurpose + const SingleSignerPurpose + func Address(params *dagconfig.Params, extendedPublicKeys []string, ...) (util.Address, error) + func AppMessageUTXOToConsensuswalletdUTXO(appUTXOsByAddressesEntry *appmessage.UTXOsByAddressesEntry) *pb.UtxosByAddressesEntry + func CreateKeyPair(ecdsa bool) ([]byte, []byte, error) + func CreateMnemonic() (string, error) + func CreateUnsignedTransaction(extendedPublicKeys []string, minimumSignatures uint32, payments []*Payment, ...) ([]byte, error) + func ExtractTransaction(partiallySignedTransactionBytes []byte, ecdsa bool) (*externalapi.DomainTransaction, error) + func ExtractTransactionDeserialized(partiallySignedTransaction *serialization.PartiallySignedTransaction, ...) (*externalapi.DomainTransaction, error) + func IsTransactionFullySigned(partiallySignedTransactionBytes []byte) (bool, error) + func MasterPublicKeyFromMnemonic(params *dagconfig.Params, mnemonic string, isMultisig bool, version uint32) (string, error) + func MinimumCosignerIndex(cosignerExtendedPublicKeys, allExtendedPublicKeys []string) (uint32, error) + func PublicKeyFromPrivateKey(privateKeyBytes []byte) ([]byte, error) + func Sign(params *dagconfig.Params, mnemonics []string, serializedPSTx []byte, ...) ([]byte, error) + type Payment struct + Address util.Address + Amount uint64 + type UTXO struct + DerivationPath string + Outpoint *externalapi.DomainOutpoint + UTXOEntry externalapi.UTXOEntry + func ConsensuswalletdUTXOsTolibconsensuswalletUTXOs(consensuswalletdUtxoEntires []*pb.UtxosByAddressesEntry) ([]*UTXO, error)