https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/public_html/wp-content/plugins/mycryptocheckout/src/currencies/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/apotdzgr/public_html/wp-content/plugins/mycryptocheckout/src/currencies/DigibyteNetwork.php
<?php

namespace mycryptocheckout\currencies;

/**
Public key for tests:
xpub69HeFrui51qASN5oK1rnzMBacAM7go69u7d1oZq4MRYZmwzHFKT283yQCoYGZAgqqQEPfnLbyCjJaDhFp5CG6b93rQV7dDu26yTrj25Uei4

Addresses:
D6fuyNgwuGXzUw9ujQ2kh5WsP3uPtJghFF
DDc2Ku8G17Ae7awHAU6iPRudnVprKKPwfg
DJmMMgBdc1WWDthsUvpHkzRQosuqAzYh8a
DEW7aHD7toLnazs8BS5wJwXHBufWrx2qzQ
DLT5WiL4aoBigbeBSLhcKEpc4bSwFGcEv1
*/

use BitWasp\Bitcoin\Network\Network;
use BitWasp\Bitcoin\Script\ScriptType;
class DigibyteNetwork extends Network
{
	/**
	 * {@inheritdoc}
	 * @see Network::$base58PrefixMap
	 *
	 * @since 2/20/20
	 *
	 * - https://github.com/digibyte/digibyte/blob/master/src/chainparams.cpp#L231
	 * - Convert numbers from decimal to hex.
	 */
	protected $base58PrefixMap = [
		self::BASE58_ADDRESS_P2PKH => "1E",
		self::BASE58_ADDRESS_P2SH => "3F",
		self::BASE58_WIF => "80",
	];

	/**
	 * {@inheritdoc}
	 * @see Network::$bech32PrefixMap
	 */
	protected $bech32PrefixMap = [
		self::BECH32_PREFIX_SEGWIT => "dgb",
	];

	/**
	 * {@inheritdoc}
	 * @see Network::$bip32PrefixMap
	 *
	 * @since 2/20/20
	 *
	 * - https://github.com/digibyte/digibyte/blob/master/src/chainparams.cpp#L236
	 * - Drop 0x's and concatenate the numbers
	 */
	protected $bip32PrefixMap = [
		self::BIP32_PREFIX_XPUB => "0488b21e",
		self::BIP32_PREFIX_XPRV => "0488ade4",
	];

	/**
	 * {@inheritdoc}
	 * @see Network::$bip32ScriptTypeMap
	 */
	protected $bip32ScriptTypeMap = [
		self::BIP32_PREFIX_XPUB => ScriptType::P2PKH,
		self::BIP32_PREFIX_XPRV => ScriptType::P2PKH,
	];

	/**
	 * {@inheritdoc}
	 * @see Network::$signedMessagePrefix
	 */
	protected $signedMessagePrefix = "Digibyte Signed Message";

	/**
	 * {@inheritdoc}
	 * @see Network::$p2pMagic
	 *
	 * @since 2/20/20
	 *
	 * - https://github.com/digibyte/digibyte/blob/master/src/chainparams.cpp#L208
	 * - Drop 0x's and concatenate in reverse (ascending) order.
	 */
	protected $p2pMagic = "dab6c3fa";
}

https://t.me/ARX49 - 2025