Replies - Activity - Dalvor - Algorand

Convert Byte to String in Pyteal

Dec 12, 2021

I see. I was previously decoding the address incorrectly. Now it works after

wallet := types.DecodeAddress("address")
[]byte(wallet[:])

Thanks!

Dec 8, 2021

Hey Ben, thanks for the reply! Would this mean if I want to send a Algorand wallet address to be used in the smart contract I have to encode the wallet address with the encode address function? If I wanted to save these wallet addresses as a global variable to be used later, is there any way in pyt…