Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write and sign custom transaction code #1314

Closed
anoncodemonkey opened this issue Jan 19, 2024 · 2 comments
Closed

Write and sign custom transaction code #1314

anoncodemonkey opened this issue Jan 19, 2024 · 2 comments

Comments

@anoncodemonkey
Copy link

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?

@anoncodemonkey
Copy link
Author

Is there a way to build raw transaction without having access to a node all the time?

@anoncodemonkey
Copy link
Author

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.

@delta1 delta1 closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants