mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
Specify secp256k1
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Example Credentials ----------------------------------------------------------
|
# Example Credentials ----------------------------------------------------------
|
||||||
from xrpl.wallet import Wallet
|
from xrpl.wallet import Wallet
|
||||||
test_wallet = Wallet.from_seed(seed="sn3nxiW7v8KXzPzAqzyHXbSSKNuN9")
|
from xrpl.constants import CryptoAlgorithm
|
||||||
|
test_wallet = Wallet.from_seed(seed="sn3nxiW7v8KXzPzAqzyHXbSSKNuN9", algorithm=CryptoAlgorithm.SECP256K1)
|
||||||
print(test_wallet.address) # "rMCcNuTcajgw7YTgBy1sys3b89QqjUrMpH"
|
print(test_wallet.address) # "rMCcNuTcajgw7YTgBy1sys3b89QqjUrMpH"
|
||||||
|
|
||||||
# Connect ----------------------------------------------------------------------
|
# Connect ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user