Likes - Activity - nullun - Algorand
TEAL Visual Studio Code Extension
Hi and let’s discuss my retroactive proposal for the Visual Studio Code TEAL Extension.
Link to the proposal: TEAL Visual Studio Code Extension | xGov
The extension adds TEAL language support to the Visual Studio Code editor. It’s easy to install and begin with.
Discussion on Expiration Timestamp
Hi @AlgoUser1
The expiration time is actually specified in rounds (you can find your specific expiration round if you press ENTER in that screen)
Since a “round” is not a meaningful unit of time for most humans, we try to estimate when this will happen based on the average round time of the last ...
Staking with Folks
It looks like you were staking with Folks. You should join the Folks Discord and ask for help there.
Their website lists their other social media accounts at the very bottom of the page: https://folks.finance/
Also, beware of scammers. No one needs to know your seed phrase.
Removing Rekey
You probably had your account in there as a “watch account” rather than imported with seeds. When you removed the rekey, it means it needs the seeds for the original address to sign. But, if it is only added as a watch account, then it does not have the spending keys imported to do so.
Conversion Issues
Edit: Sorry, I see you’re trying to convert to Algo, you don’t have the 0.001 Algorand for the fee. The 4~ Algo you currently have is being used for opt-ins to any ASA’s or applications you have.
Technical Update on GetBlock.io
To all Algorand Devs,
Please be informed of a technical update on GetBlock.io RPC Node Provider. The rate limit for all shared plans of Algorand Nodes will be increased from 60 to 200 requests/second (RPS). This update is part of ongoing service enhancements.
It is important to note that this RPS ...
Custom Asserts in Smart Contracts
Bumping this to say we did use the custom asserts, and they were very useful in (eventually) figuring out that a subset of nodes that some users were using were out of sync - not sure we would have been able to deduce that otherwise.
The contract, including the custom_assert gadgets, are open-sourced...
Gratitude to Fabrice
On behalf of the entire Algorand Developer Community, I wanted to say thank you to @fabrice. Fabrice is the real genius behind Algorand. He’s constantly making himself available to developers who run into bugs, challenges, and new problems building. It doesn’t matter how big or small the problem is...
Check if an ASA is Opted In
Here is the PyTeal section that covers this. Note the way the MaybeValue works.
https://pyteal.readthedocs.io/en/latest/assets.html#asset-holdings
Node Installation Process
The name of the container indeed changed with the new sandbox version.
It is now algorand-sandbox-algod. If you want to compile the program example.teal that is in your folder outside of the sandbox into example.teal.tok, you do:
Copy example.teal to the sandbox:
$ docker cp example.teal algorand-sandbox-algod:/path/to/your/target/directory
Voting Stake Calculation
Good point!
That’s why I’ve used exponential moving average instead of arithmetic mean. Unlike arithmetic mean, EMA has a limited memory, and its memory can be controlled by the alpha parameter. As a rule of thumb we can say that EMA only remembers the last 3 / alpha data values.
For example, if ...