Skip to content

Write and sign custom transaction code #1314

@afeezaziz

Description

@afeezaziz
const customNetwork = {
  messagePrefix: 'Your_Message_Prefix', // Replace with the value from the configuration file
  bech32: 'your_bech32_prefix', // Replace with the value from the configuration file
  bip32: {
    public: 0x00000000, // Replace with the value from the configuration file
    private: 0x00000000, // Replace with the value from the configuration file
  },
  pubKeyHash: 0x00, // Replace with the value from the configuration file
  scriptHash: 0x05, // Replace with the value from the configuration file
};

I would need to fill up the variables as per the above, how can I achieve this by using elements? For context, I am using nigiri to run containerised elements, and I have made changes too to the configuration file i.e. elements.conf

How can I get these values for the element blockchain?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions