Example Crowdfunding Stateful Smart Contract Application
link-Example Crowdfunding Stateful Smart Contract Application | Algorand Developer Portal
In these link I compile the command
goal app create --creator LHHQJ6UMXRGEPXBVFKT7SY26BQOIK64VVPCLVRL3RNQLX5ZMBYG6ZHZMBE --approval-prog ./crowd_fund.teal --global-byteslices 3 --global-ints 5 --local-byteslices 0 --local-ints 1 --app-arg "int:20" --app-arg "int:1000" --app-arg "int:1000000" --app-arg "addr:"LHHQJ6UMXRGEPXBVFKT7SY26BQOIK64VVPCLVRL3RNQLX5ZMBYG6ZHZMBE --app-arg "int:1000" --clear-prog ./crowd_fund_close.teal -d "C:\users\Dell\AlgorandNode\newdata"
It shows:
No wallets found. Create a new wallet with `goal wallet new [wallet name]`
Then I created the wallet
C:\Users\Dell\AlgorandNode>goal wallet new har
Please choose a password for wallet 'har':
Please confirm the password:
Creating wallet...
Created wallet 'har'
Your new wallet has a backup phrase that can be used for recovery.
Keeping this backup phrase safe is extremely important.
Would you like to see it now? (Y/n): y
Your backup phrase is printed below.
Keep this information safe -- never share it with anyone!
Then I compiled the above command:
C:\Users\Dell\AlgorandNode>goal app create --creator LHHQJ6UMXRGEPXBVFKT7SY26BQOIK64VVPCLVRL3RNQLX5ZMBYG6ZHZMBE --approval-prog crowd_fund.teal --global-byteslices 3 --global-ints 5 --local-byteslices 0 --local-ints 1 --app-arg "int:20" --app-arg "int:1000" --app-arg "int:1000000" --app-arg "addr:"LHHQJ6UMXRGEPXBVFKT7SY26BQOIK64VVPCLVRL3RNQLX5ZMBYG6ZHZMBE --app-arg "int:1000" --clear-prog crowd_fund_close.teal -d "C:\users\Dell\AlgorandNode\newdata"
Please enter the password for wallet 'har':
Couldn't sign tx with kmd: key does not exist in this wallet
Is my create command and arguments I passed are right?Can anyone help me please?
