All - Activity - rafmc98 - Algorand
Contract account can opt-in asset?
Mar 5, 2021
Thank you so much, finally everything works correctly !!
Mar 5, 2021
thanks @fabrice for the reply. Unfortunately I didn’t understand how to transfer a teal program from outside to sandbox, can you help me?
Mar 3, 2021
I tried to compile using
./sandbox goal clerk compile asa-htlc.teal
but i get the same error: asa-htlc.teal: open asa-htlc.teal: no such file or directory So i decided to compile using SDK and i get the contract account address.
Mar 3, 2021
I have to use this instruction first right?
- (Owner) Create an unsigned opt-in transaction from/to the escrow account for specified ASA
But when i try to send it i get this.goal asset send -o asa-htlc-opt-in-escrow.utxn -a 0 --assetid $ASSET_ID -f $ESCROW_ACCOUNT -t $ESCROW_ACCOUNT -d $DATA
Mar 3, 2021
Ok thanks i understand. However, a problem remains: Once the Opt-in transactions have been handled in the logic of the contract, when I send the Opt-in transaction for the contract account, a wallet is required but I don’t know which wallet to specify.
Mar 3, 2021
How a contract account can opt-in an ASA?
Can a smart contract send assets to an address?
Feb 3, 2021
I’m working on my computer science thesis on the development of smart contracts in Algorand, and I’m looking for a way to implement the above scenario. Is there a way to realize it?
Feb 2, 2021
I’m trying to realize a smart contract that send assets to a specific address just if some conditions are respected. Is there any example of Smart contract of this type?
Problem with ./sandbox enter
Jan 4, 2021
When i try to use the following command in sandbox docker:
./sandbox enter
the returned output is ./sandbox: line 275: $2: unbound variable Can anyone tell me how to solve this?
Error starting kmd (kmd data dir not secure)
Dec 10, 2020
yes you’re right, I was a little confused. Thank you I appreciate your help.
I’m actually using sandbox to run a node.
I didn’t create any dir, I just ran the command described above.
Executing the command
$ goal kmd start -t 3600
the following error is returned: ERRO[0000] [Stack] goroutine 1 [running]: runtime/debug.Stack(0xc000212070, 0xc000214000, 0xc00016aa10) runtime/debug/stack.go:24 +0x9f github.com/algorand/go-algorand/logging.logger.Errorf(0xc…