ebellocchia / py_crypto_hd_wallet

HD wallet for cryptocurrencies based on my bip_utils library
MIT License
52 stars 34 forks source link

XRP wallet generation from xrpl js #26

Closed tuncatunc closed 1 year ago

tuncatunc commented 2 years ago

How can I generate xrpl seed from account keys using account_key below. XRPL seeds start with s

const wallet = xrpl.Wallet.fromSeed(seed)
console.log(wallet.address) // 
    "account_key": {
        "ex_pub": "xpub6CALbNc6Py6VH6fHXrRFH6oG1nXBS8DLcwtaSrQmQ6iCoi5jmavvne6adr1AdAasqCfMY6QbrR4SjtwQTfMK1XktE3Y33ncQQ96aXrvNxWY",
        "raw_compr_pub": "031510ea6839292f0c8a04887869f5adb382e81b949268cbcfe19a2091e673e8e2",
        "raw_uncompr_pub": "041510ea6839292f0c8a04887869f5adb382e81b949268cbcfe19a2091e673e8e26f69e77f11480fe9149363ac22b63976c1b56e7b0e7461eaf93151c1d9d1e40b",
        "ex_priv": "xprv9yAzBs5CZbYC4capRptEuxrXTkgh2fVVFixyeU19qmBDvukbE3cgEqn6naWSZqFHwHvs2Gt4fYuwRACakv7EEU8SxFebBzd2t3S9zgF9W2x",
        "raw_priv": "d7da45bdcebe5213b1dd9d9a9f149559d96d5e99d6c796b203f9f94ebfa2afaf",
        "address": "r4XXcWi53dssxgnqeZUCtX2HtaEkG2DgWA"
    },
ebellocchia commented 1 year ago

Not currently supported