NEWTON
Asked
3 months ago
21
views
0
Hey, I have an Argent account and would like to use it in my python scripts. Is there any way of signing transactions in StarkNet.py with an Argent account?
0xa483...6765fa
asked
3 months ago
0
Accepted answer
You can export a private key from your account. With the private key, you can create AccountClient. You will also need the address of your account.
Short code example:
client = GatewayClient(net=TESTNET)
account_client_testnet = AccountClient(
address=address,
key_pair=KeyPair.from_private_key(private_key),
chain=StarknetChainId.TESTNET,
client=client,
supported_tx_version=1,
)
war-in
answered
3 months ago
How to send tokens through StarkNet.py?
How can I connect a StarkNet account using starknetjs?
What is an abstract account?
How to use `await` in StarkNet.py?
How do I put funds into my newly created account from the ape console?
Can you explain what is Abstract Account?
Why there is no fee for deploying an account contract (creating account)?
Will StarkNet wallets work after Q4 2022 Final State Reset? Or do I need to create and merge a new wallet?
Does Cairo work in python3.10 venv? I can’t install python 3.9
How do I connect my DAPP to Starknet testnet using starknetjs?
How do I transform data from javascript to Cairo?
Are you able to nest mappings in Cairo like you can in Solidity?
Fixed Point pow operation error
How do I connect my DAPP to a Starknet node using starknetjs?