209 похожих чатов

Could someone give an advice on how to convert Txn.sender()

to pt.abi.Address?

According to the docs Txn.sender() returns 32byte representation of the address and set method on the abi.Address type accepts 32byte Expr, but when I try to do something like this

(address := abi.Address().set(Txn.sender())

I get an error that TxnExpr could not be used where Expr is expected

6 ответов

35 просмотров

Hey, while i dont have a direct answer for you there is a superbly useful ai bot on our discord. its called ask Kapa. present your question there as you have here and it may well have a detailed answer for you

view discord

Nichita- Автор вопроса
AP | Never DM You First
view discord

No answer there and AI did not provide the answer 🙁

You can create a thread in pyteal section. The dev rel team will respond

Nichita- Автор вопроса
Millie Conway
Hey, while i dont have a direct answer for you the...

Used that bot for couple of time to get answers about Algo.

Похожие вопросы

Обсуждают сегодня

Карта сайта