3

We're using the code here to generate XMR addresses by providing our own mnemonic.

The website above uses networkByte = 12 for Monero Mainnet and networkByte = 35 for Monero Testnet.

But I was wondering if anyone knew what the networkByte is for Monero Stagenet?

1 Answer 1

2

The stagenet address network bytes are defined in decimal in the file https://github.com/monero-project/monero/blob/3ad4ecd4ff52f011ee94e0e80754b965b82f072b/src/cryptonote_config.h

uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 24;
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 25;
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 36;

In hex these numbers are 18, 19, 24 respectively.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.