All - Activity - SethDev - Algorand
PyTeal - Logicsig
I understand now, Thank you Ben!
But I can specify the sender to another address like so:
Txn.sender() == “address” and only that address passed will be the sender else the contract fails, So do you mean if I don’t specify, the Txn.sender() will be the contract address. Am I right?
I was playing around with Pyteal and I thought about this…
program = And(
Txn.type_enum() == TxnType.Payment,
Txn.fee() <= Int(1000),
Txn.amount() >= Int(1000),
Txn.sender() == Addr(),
Global.group_size() == Int(1),
Txn.rekey_to() == Global.zero_address
)
Smart Contract Opt-in to asset
const algosdk = require('..');
const server = 'https://testnet-algorand.api.purestake.io/ps2';
const port = '';
const token = {
'x-api-key': 'B3SU4KcVKi94Jap2VXkK83xx38bsv95K5UZm2lab', // fill in yours
};
Hi, please refer to this: Link
How to test TEAL smart contract?
Just seeing this, thank you!
Can TEAL perform a swap functionality
Can TEAL perform a swap functionality like Uniswap or Pancakeswap?
How to test TEAL smart contract?
Having written a smart contract with teal. How do I test the smart contract?
Any resources from Algorand to properly learn TEAL?
Any resources from Algorand to properly learn TEAL smart contract? e.g tutorial videos. And how can TEAL smart contracts be tested, If it has an IDE or perhaps a tool that can be used to test the smart contracts? Likewise for PyTEAL
Does TEAL now have updates which improves some of the things it cannot do?
Okay, thank you! Understood. Hello! I am wondering if TEAL has some updates which improves this?
Image from: Link