All - Activity - cc9one - Algorand

Fetching Global State via PythonSDK

Thanks for the clarification @fabrice. I previously misunderstood the purpose of the return statement.


Issue: Same Problem Encountered

I am experiencing the same problem:

Traceback (most recent call last):
  File "/path/to/simple_counter_smart_contract/deploy.py", line 96, in <module>
    init()
  File "/path/to/simple_counter_smart_contract/deploy.py", line 87, in init
    read_global_state(
  File "/path/to/simple_counter_smart_contract/deploy.py", line  …

Fix: Inquiries About Return Values

Thank you, and that was a great guess. I was using Return(Int(1)) instead of the Python return Int(1) for my approval_program() function.


Understanding ASA Token Pricing

Thank you for this explanation.

The precision is determined by the variance in the asset price across sources and time. Where can I find these sources? I see this as a great learning opportunity to create my own ASA price oracle. Are there any existing ASA price oracles that I can use for reference?


Questions About Price Calculations

I understand this, however I’m still trying to understand how the price of an ASA is calculated. Perhaps the swap example isn’t a great analogy. Let’s say I want to know the price of 1 FOO. What controls the price of 1 FOO? Is it a calculation that can be performed by analyzing all transactions?


Creating a Function for Asset Transfer

I realize this is a broad question. For context, I am attempting to write a function that converts an asset transfer transaction amount to its equivalent worth in microalgo. The act of building this function helped reveal the question… “How is an ASA price determined to begin with?”.


Self-Guided Study Group Resources

Thanks @cusma, I created the first challenge with a list of these resources to help people get pointed in the right direction: algorandbytes/description.md at main · connorjcantrell/algorandbytes · GitHub


Running an Indexer with Low Latency

I have learned that geographic proximity is critical between the Indexer writer, the Postgres DB, and the Algod instance if I want low latency between my Postgres database and the blockchain. I am considering running my own node and indexer on the same server. What are some cost-effective approaches?


Thoughts on Node and Indexer Setup

Thanks for sharing @fabrice. Alternatively, I could use a 4TB HDD. A 4-bay disk station would allow me to add memory as the storage requirements continue to rise. Is this a viable option, or would read/write speed become an issue?


Guide for Running a Participation Node

I was inspired by this guide explaining how to run a participation node on a Pi. In addition to the node, I want to install the indexer. The Indexer will be taking up the majority of space on my hard drive.

As of the end of July 2021, storing all the raw blocks in MainNet is about 609 GB and the Po…


Storing Private Data on the Blockchain

Thanks for your input! I really appreciate it. You greatly helped me visualize the possibilities of using Algorand for my next project.

Would it still be practical to store the private data off-chain while also using Algorand to record the exchange of value? For instance, once a transaction is finalized, the private data could be stored to a centralized database. The transaction ID and public addresses could be used as a reference.


Applications of Blockchain Technology

I have recently been introduced to the many use cases for blockchain technology. One of the examples that Russ Fustino mentioned was the storage of sensor data for the automotive industry. If all data is publicly available, I foresee many instances where the manufacturer may not want this sensor data to be public.


Local Storage Security

Does this mean that local storage can securely contain confidential information?