NEWTON
Asked
5 months ago
24
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
5 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
5 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)?
Can I add Kakarot to my metamask?
Does Account Abstraction support "Session Keys"?
How many time does it take for stark to eth starkgate bridge process?
signing a message using account.signMessage(data) | starknet.js
how to send token
Are there rewards for running a Pathfinder node?
Invalid response while using `ec.getKeyPair("copy