Write and sign custom transaction code
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?
Is there a way to build raw transaction without having access to a node all the time?
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?
I am not sure how can I get these values when following the tutorial.