# TOKEN with an address generated from a Smart Contract creation
May 17, 2023

Tokens on Algorand do not require smart contracts. You can read how to create, transfer, etc here: [Algorand Standard Assets (ASAs) - Algorand Developer Portal](https://developer.algorand.org/docs/get-details/asa/)
That said, if you want to use logic (smart contract) with a token you can do that. Take a look at this ARC: [ARCs/arc-0020.md at main · algoran…](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0020.md)

---

# Boxes in Inner Transactions
Dec 7, 2022

I understand the use case. Right now you can set 8 box names per outer tx that can be used by the inner tx as well. That said, if you are creating the asset in the first call and want to use that with the inner as the box name that is currently not possible as you won’t know beforehand what the id is…

---

# Reserve: Smart contract Opt in
Dec 6, 2022

Only if local state is used, which is the only reason to opt an account into a smart contract! 🙂

---

# Boxes in Inner Transactions
Dec 6, 2022

Boxes use the outer tx group for the references. IE you can change what’s already available inside an inner tx.

---

# Deploy a stateful contract through a stateful contract
General
Dec 1, 2022

Why not do something like what is shown in this example: [beaker/examples/c2c at master · algorand-devrel/beaker · GitHub](https://github.com/algorand-devrel/beaker/tree/master/examples/c2c)

---

# TEAL: How can I supply arguments to an inner transaction?
Sep 28, 2022

Take a look at this: [The Algorand Virtual Machine (AVM) and TEAL. - Algorand Developer Portal](https://developer.algorand.org/docs/get-details/dapps/avm/teal/specification/#inner-transactions)
Just reuse this property. 
itxn_field ApplicationArgs
so something like:  
int 5 //first parameter  
itxn_field ApplicationArgs  
int 6 //second parameter  
itxn_field ApplicationArgs

---

# How can I store structs, arrays and mappings in PyTeal?
General
Sep 21, 2022

On problem 2, most structs, lists, etc can be converted to byte arrays which can be stored in local or global state. That said, writing teal or Pyteal to manipulate or read the structs inside the contract can be difficult. The Beaker project implements some key functionality that makes handling this easier.

---

# Can you create a dapp with smart contracts written in multiple forms of code?
General
Sep 16, 2022

Currently dapps (smart contracts) on Algorand are only written with TEAL and many tools convert to teal including PyTeal and Reach, but that has little to do with cross-chain dapps. This is one of the reasons Algorand is working on State Proofs, so tokens and other things can cross chains in a decent way.

---

# Opt-in to a token through a wallet within the App
General
Sep 8, 2022

Take a look at receiving an asset here:

---

# Hi! I'm trying to do an asset transfer using escrow but it's showing me this error
General
Aug 31, 2022

Your logic in the escrow is rejecting the transaction.

---

# State Proofs Current Status?
General
Aug 9, 2022

We should be posting some state proof initial docs later this week. I believe some of the basic tech is already been merged to master.

---

# Stateful vs Stateless smart contracts
General
Jul 14, 2022

There are no plans to add this functionality currently.

---

# Phone directory program. Algorand blockchain as a replacement for a sql table
General
May 25, 2022

Does this data need to be private? You could enter contacts using the notefield on a payment tx and not use smart contracts at all. Use the indexer to look up notes.
This tutorial needs to be updated but should give you the general idea.

Use the indexer to search:

---

# indexer.searchForTransactions().limit(10).do() is returning older transactions
Apr 12, 2022

Currently, that is not in the indexer API, but you could go round by round until you got the 1k or write your own query against the indexer DB.

---

# Subroutine for security checks (RekeyTo, AssetCloseTo etc)?
General
Mar 14, 2022

You should be able to do this.

---

# Maximum input data size for a stateful contract
General
Feb 18, 2022

You are correct on the 3k and you could group three app transactions in one atomic and access the additional data.

---

# Retrieve the amount of a swap transaction
General
Feb 11, 2022

Using the Algorand SDKs, if you have the signed or unsigned transactions, you can just loop through them and get the txids. for unsigned something like:  
txids = [tx.get_txid() for tx in grouped_txns]  
For signed:  
txids = [tx.txn.get_txid() for tx in signed_txns]

---

# Private network - node accessible from another VM within network or remotely?
General
Feb 11, 2022

If you just want to setup a testing node, just use sandbox, which can connect to testnet or mainnet. ie ./sandbox up mainnet.
Get the nodes IP and connect to that IP using port 4001 with algod.
