Cover photo

How to Start Using AR.IO

post image

AR.IO is a decentralized storage platform built on Arweave, a blockchain-like protocol designed for permanent data storage.

Arweave enables users and developers to store data in a distributed, tamper-proof, and permanent way. AR.IO is an infrastructure layer on top of Arweave that makes it easier for decentralized apps (dApps), websites, and users to access and store data permanently. Here are some key features and roles of AR.IO within the Arweave ecosystem:

  1. Decentralized Gateway Network: AR.IO facilitates access to Arweave by running decentralized gateways, which allow users to easily retrieve stored data. These gateways ensure that the data is available to anyone across the network without relying on a single centralized service.

  2. Permanent Storage: Like Arweave, AR.IO emphasizes long-term data storage. Data stored through AR.IO is immutable and available indefinitely, making it a solution for applications that require permanent record-keeping or archival.

  3. Content Availability: AR.IO provides content-serving tools that ensure the availability of stored data. This is especially important for dApps and services that depend on guaranteed data retrieval.

  4. Infrastructure for dApps: AR.IO supports decentralized applications by offering services like permanent hosting and data storage, removing the need for traditional web hosting providers.

    How does AR.IO Differ from Arweave Arweave:

    Core Protocol: Arweave is the underlying blockchain-like protocol designed for permanent, decentralized data storage. It operates using a structure called the blockweave, which is optimized for long-term storage.

    Storage Solution: Arweave provides the foundation for storing data permanently across a distributed network of nodes, where data is stored in a decentralized, immutable, and tamper-resistant way.

    Economic Model: Users pay a one-time fee for storing data, which funds future storage by maintaining incentives for miners to continue storing the data over time.

    Data Storage & Retrieval: While Arweave offers permanent storage, it doesn’t natively provide user-friendly access methods like typical web services do. Retrieving data directly from the network requires interaction with the protocol. AR.IO:

    Layer on Top of Arweave: AR.IO is a service infrastructure built on top of Arweave to facilitate easier, decentralized access to the data stored on Arweave.

    Decentralized Gateways for interacting with the permaweb: AR.IO focuses on providing decentralized gateways that make retrieving and interacting with data on Arweave easier for users and decentralized applications (dApps).

    User Experience & Access: AR.IO enhances accessibility by allowing developers and users to access data via more familiar web interfaces and infrastructure, helping dApps and websites easily pull and serve stored data.

    Application Infrastructure: AR.IO is designed to support dApps, websites, and services with features like permanent hosting and decentralized content delivery, making it more than just a storage layer—it's part of the application stack that leverages Arweave’s storage capabilities.

    Essentially, the key difference between the two is that AR.IO’s primary role is to optimize the accessibility and usability of data stored on Arweave. This includes running AR.IO gateways for data retrieval and creating human-readable names using the Arweave Name Service (ArNS).

    AR.IO works to expand the usability of Arweave by offering easy access to its decentralized storage features and promoting a distributed web where data remains accessible and immutable forever.

    How to Get Started with AR.IO

    Step 1: Setting up a Non-Custodial Wallet

    Before using AR.IO users need to set up an Arweave-compatible non-custodial wallet. A great example of an Arweave-compatible is ArConnect wallet. ArConnect is a browser extension wallet that makes it simple to interact with the AR.IO gateways and the entire Arweave ecosystem.

Step by Step Guide for Setting up and Using ArConnect

post image

i.) Install the ArConnect Wallet Extension

  1. Open your web browser: ArConnect is available for Chrome, Brave, and other Chromium-based browsers.

  2. Go to the ArConnect website: Visit the official ArConnect website or directly search for the extension in the Chrome Web Store.

  3. Install the Extension: Click the "Add to Chrome" (or "Add to Brave") button and follow the prompts to install the extension in your browser.

post image

ii.) Create or Import an Arweave Wallet

  1. Click the ArConnect Icon: After installation, you should see the ArConnect icon in your browser's toolbar. Click on it to open the wallet.

post image
  1. Choose “Create New Wallet” or “Import Wallet”: o Create a New Wallet: If you don’t have an Arweave wallet, select this option.  You will receive a new private key file (JSON format) which you must download and save securely. Do not lose this file or share it with anyone.  ArConnect will guide you through securing your wallet with a password. This password will be used to encrypt your wallet locally for security. o Import an Existing Wallet: If you already have an Arweave wallet (e.g., from the Arweave web wallet or other services), you can upload your private key file (JSON) to import your wallet into ArConnect. iii.) Secure Your Wallet

  2. Set a Strong Password: Whether you're creating a new wallet or importing one, you will need to set a password. This password will be used to encrypt your wallet within ArConnect, adding an extra layer of security.

  3. Backup Your Key File: If you created a new wallet, make sure you have saved the private key file securely, as it is essential for recovering your wallet. Store it in a safe place.

    Step 2: Obtaining tIO Tokens (testnet IO)

    tIO tokens are the primary utility tokens within the AR.IO network, crucial for advanced functionalities like running an AR.IO gateway and registering ArNS names.

    How can I get tIO tokens?

    To obtain tIO tokens, users typically participate in AR.IO’s ecosystem activities or join AR.IO-supported platforms where they can acquire these tokens.

    To get your tIO tokens join the ar.io discord:

    Join discord -> #testnet channel -> type /apply and select the ArNS application or join AR.IO Network Application

    tIO may also be available on ecosystem exchanges. Please do your own research and note the terms of use prior to connecting your wallet. AR.IO does not officially endorse or represent any of these projects and the use of them is at the user’s own risk: permaswap.network/#/ao/AR-TIO

    More Ways to Get More tIO Tokens?

    There are two more ways to obtain more tIO tokens:

    • Operating an AR.IO gateway: If you have the developer skills to run a gateway. Operate a gateway, stake your tIO tokens, and earn more tIO tokens for good performance. Check out AR.IO docs on how to run a gateway.

• Delegate tIO tokens to a gateway: You can still participate in the operation of gateways if you don’t run one with delegated staking. Find an operator you think has good performance and stake some tIO tokens to it. As the gateway has good performance you will also share in the rewards and earn more tIO tokens

Go to the AR.IO Network Portal to delegate your tIO tokens. Use tIO Tokens on AR.IO

  1. Connect to AR.IO Services: Once you have tIO tokens, you can use them to interact with AR.IO services on the testnet. This may include storage operations, interacting with dApps, or testing decentralized gateways.

  2. Connect Wallet to Testnet dApps: Use your ArConnect wallet to connect with AR.IO dApps or services operating in the testnet environment. Ensure that the dApps are operating in test mode and that your wallet is configured correctly to access the testnet.

  3. Execute Transactions: Use tIO tokens for various testnet operations like storing data, interacting with decentralized services, or testing features of the AR.IO platform.

Step 3: Setting Up an AR.IO Gateway: A Technical Walkthrough

Gateways act as the front door to the permaweb. They are infrastructure utilities that sit above the base storage layer and allow users to access and query the information stored on Arweave. Gateways are specialized nodes responsible for data retrieval, caching, and serving as well as indexing transactions into a database that can be easily queried at scale. These functions are not performed by the Arweave mining nodes which are optimized for securing the blockweave and replicating information throughout the network through a mechanism known as Wildfire.

• Technical Requirements

Running an AR.IO gateway requires a server with adequate processing power and storage capacity (at least 4GB RAM, 2 CPUs, 100GB of storage). Users will also need to install Docker to simplify the deployment.

Obtain tIO Tokens

To join the AR.IO network and run an AR.IO gateway on the network, users need to have tIO tokens in their wallet. These tokens allow participation in the network and make it possible to route data more efficiently, thereby optimizing access.

Setting Up the Gateway: A Simple Walkthrough

I. Clone the AR.IO gateway repository from GitHub: https://github.com/AR.IO/gateway.git.

II. Move into the directory: cd gateway.

III. Use Docker to set up the gateway: docker-compose up -d.

IV. Configuration: In the gateway’s configuration file (usually a .json file), input your wallet address containing the tIO tokens. This wallet address connects your gateway to the AR.IO network, enabling it to handle storage requests and optimize data routing.

Syncing and Monitoring

After launching the gateway, it will sync with the Arweave network to index existing data. This process can take some time depending on network traffic and your server’s resources.

Monitoring Tools

Set up monitoring to track gateway performance. Use AR.IO’s APIs to observe data retrieval efficiency, ensuring the gateway optimally serves network requests.

Step 4: Setting Up an Arweave Name Service (ArNS) through AR.IO

post image

What is ArNS?

Arweave URLs and Transaction IDs are long, difficult to remember, and occasionally miscategorized as spam. The Arweave Name System (ArNS) aims to resolve these problems in a decentralized manner. ArNS is a censorship-resistant naming system stored on Arweave. ArNS as a decentralized naming system provided by AR.IO that allows users to assign human-readable names (like "my-archive.ar") to content stored on the Arweave network. This makes it easier to access and share content via AR.IO gateways. It's an open, permissionless, domain name registrar for anything on the permaweb.

Registering an ArNS Name Using tIO Tokens

Registering an ArNS name requires tIO tokens. These tokens are used within the AR.IO network to facilitate the name registration process.

Accessing the ArNS DApp

post image

Visit ArNS decentralized application to connect the ArConnect wallet to the ArNS DApp. In the DApp, proceed to choose a desired name and register it, linking the name to a specific piece of content stored on Arweave. After selecting your name, confirm the transaction using your wallet. The process will link the name to your stored content and create an immutable record on the network. You’ll need to sign this transaction, which utilizes tIO tokens.

Managing ArNS Names

After acquiring an ArNS name, users can manage their ArNS names through the AR.IO DApp, including updating content references, transferring ownership, or setting up subdomains. Any updates will require tIO tokens and create permanent blockchain records. Users can easily reference these friendly names in their browsers, and other applications and infrastructure can build rich solutions on top of these ArNS primitives.

Arweave Name System Interactions
Arweave Name System Interactions

Handling Commonly Experienced Onboarding Challenges in AR.IO

Below are some of the commonly experienced challenges by AR.IO users:

Challenge #1: Understanding AR.IO's Role in the Ecosystem

Most users confuse AR.IO for Arweave. Arweave is the core underlying storage network AR.IO on the other hand is not a storage service but a gateway network that enhances how users interact with data stored on Arweave. This understanding helps users grasp the value of tIO tokens in running gateways and registering ArNS names.

Challenge #2: Acquiring and Managing tIO Tokens

Currently there are limited ways to acquire tIO tokens most of which involve actively engaging in the AR.IO community forums such as Discord, therefore it is important to securely manage the tokens, especially when running a gateway or registering an ArNS name.

Challenge #3: Technical Complexity of Running a Gateway

Running an AR.IO gateway can seem daunting. Luckily, there are multiple resources to help with setting up and running a gateway. Check out AR.IO’s technical documentation and community forums for guidance.

What Next?

You have successfully set up an AR.IO gateway, interacted with the permaweb through the AR.IO gateways and are enjoying the experience, now what next? Here are a few follow up activities to remain actively engaged in the AR.IO community.

Getting Involved:

Check out AR.IO GitHub repositories, join online forums for AR.IO community, and social media channels such as Discord and Twitter. Joining the AR.IO online communities is invaluable for learning best practices, troubleshooting, and staying updated on network developments.

• Using AR.IO Effectively:

You can start simple by interacting with existing AR.IO gateways for storage and retrieval. If interested in deeper participation you can move to running a gateway and registering ArNS names once they have acquired tIO tokens.

Frequently Asked Questions

Some of the frequently asked questions by new and seasoned users of AR.IO include:

  1. What is the best way to acquire tIO tokens for running an AR.IO gateway?

    Answer: The best and easiest way to acquire tIO tokens for running an AR.IO gateway is by joining the AR.IO discord and requesting for the tIO tokens. Apply via the #testnet channel in the AR.IO discord. Simply type /apply then select application to join the AR.IO Testnet. If approved you will receive enough test IO Tokens to join the AR.IO Network.

  2. What are decentralized gateways, and how do they work on AR.IO?

    Answer: These are nodes operating on the Arweave network that provides services for reading from, writing to, and indexing the data stored on the permaweb. Sometimes referred to as “permaweb nodes” These gateways act as access points, ensuring high availability and redundancy of data. Unlike centralized services, AR.IO gateways are operated by multiple independent nodes, ensuring a more resilient and decentralized infrastructure.

  3. How is my data secured on AR.IO?

Answer: Data stored using AR.IO is permanently secured on the Arweave blockchain. Arweave’s decentralized and immutable nature ensures that once data is stored, it cannot be altered or deleted. It is distributed across multiple nodes, making it tamper-proof and resistant to censorship. AR.IO’s decentralized gateways provide reliable access to this data.

  1. What is ArNS?

    Answer: Arweave Name Service is an open, permissionless, domain name registrar for anything on the permaweb.