NEWTON
Asked
30 days ago
20
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
30 days 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
30 days 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)?
Cairo: Getting the squared summation of felts in an array
Do you have any idea on how much is starknetJS request limit?
Any idea what this could be caused by?
Can you explain what is Abstract Account?
Can you explain about cancellation (L1 -> L2) in StarkNet (sequencer)?
How to check for smaller Uints in Cairo?
Cairo error: Accessing struct/tuple members for r-value structs is not supported yet