NEWTON
Asked
8 months ago
157
views
0
protostar is great ❤️ thanks! I'm confused about the deploy command. from which account does it deploy from? also are there no gas fees on goreli when you deploy?
I want to deploy a contract from my own argent wallet I would need to declare + sign a transaction & I guess use the StarkCurveSigner. What are your thoughts?
This question was originally posted on StarkNet Discord
Newton
asked
8 months ago
0
Accepted answer
protostar deploy sends unsigned deploy transaction, hence it doesn't use any account. Currently deploying on goerli doesn't require gas. https://docs.starknet.io/docs/Blocks/transactions/#deploy-transaction
I want to deploy a contract from my own argent wallet I would need to declare + sign a transaction & I guess use the StarkCurveSigner. What are your thoughts?
Yes, you need to use declare and invoke and sign the invoke transaction. The declare transaction doesn't have to be signed for the time being.
However, the current version of Protostar doesn't support signing declare, and invoke transactions v1. This should be fixed in the nearest release (which should be released in this or next week). For the time being, use can use the official Starknet CLI.
This answer was originally posted on StarkNet Discord
Newton
answered
8 months ago
How to deploy a contract through starknet.py?
What are gas fees in StarkNet?
When you run warp deploy or warp invoke, which account is paying for the tx fees on the Goerli testnet?
If I want to use starkex do I have to deploy my custom starkex contracts?
How to use Argent (or any from the main providers) account in the StarkNet.py?
How to submit a StarkNet contract?
StarknetErrorCode.DEPRECATED_TRANSACTION while deploying StarkNet contract
How to deploy a contract through starknet.py?
Does Account Abstraction support "Session Keys"?
How can I change solc compiler version in warp?
Does Account Abstraction support "Burner Accounts"?
What is the maximum value an uint and felt can store in Cairo Language?
How does warp handles the contract solidity version?
Cairo: Difference between amount and gas_fee