elements icon indicating copy to clipboard operation
elements copied to clipboard

Write and sign custom transaction code

Open afeezaziz opened this issue 5 months ago • 2 comments

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?

afeezaziz avatar Jan 19 '24 19:01 afeezaziz