Skip to main content

Quick start

This guide takes you from an empty wallet to a stored file and a published website on IOTA testnet. Each step links to the tutorial that explains it in full.

1. Install an IOTA wallet​

You need an IOTA wallet in your browser, for example the IOTA Wallet or Nightly browser extensions. Create an account and switch the wallet to testnet.

This is the only thing you need: you pay in IOTA and sign with this wallet. There is no other token, no other chain and no account to create.

2. Get testnet IOTA​

Testnet IOTA has no value and comes from the faucet:

  1. Copy your address from the wallet.
  2. Open faucet.testnet.iota.cafe, paste the address and solve the captcha.

One request is more than enough to try everything here. Storing a small file costs a few thousandths of an IOTA, and publishing a small site a few hundredths, almost all of it a deposit that comes back when you destroy the site. See Prices.

3. Connect the wallet to the app​

Open app.iotastorage.com, press Connect wallet and choose your wallet. The app has four tabs:

TabWhat you do there
Publish a siteChoose or drag a folder, review its files and the estimated cost, and publish it as a website, or update one of yours.
My sitesYour sites, with their address. Renew, update or destroy each one, and give it a name.
My blobsStore a file, and renew, delete or certify the blobs of your wallet.
NodesCompare the storage nodes of the network (no wallet needed).

Every operation is an IOTA transaction that you approve in your wallet. Your keys never leave it. Details in Connect a wallet.

4. Store a file​

  1. Go to My blobs and choose a file under Store a file.
  2. Choose for how many days to keep it (1 to 53; on testnet a day is an epoch) and whether it is deletable.
  3. Press Store and approve two transactions in your wallet: the first registers and pays for the blob, the second certifies it once the storage nodes have confirmed.

When it finishes you get the blob ID, a link to read the file and what it cost. The blob now appears in the list of your wallet, where you can renew it or delete it. Details in Store a file and Manage your blobs.

5. Read it through the aggregator​

Anyone can read a blob by its blob ID, without a wallet:

curl -o my-file https://aggregator.iotastorage.com/v1/blobs/<blob ID>

The link that the app shows after storing a file is exactly this address. The aggregator answers with a generic content type, so a browser downloads the file instead of showing it; to serve web pages, publish a site. See the aggregator API.

6. Publish a site​

  1. Prepare a folder with your static site: at least an index.html, and optionally a 404.html and a ws-resources.json with headers, routes and redirects.
  2. Go to Publish a site and choose or drag the folder. The app lists the files, and shows the duration and the estimated cost.
  3. Press Publish and approve two transactions in your wallet: the first registers and pays for the files, the second certifies them and creates the site in your wallet.

Your site is then online at https://<site ID in base36>.iotastorage.com/. My sites shows that address and lets you update the site (only what changed is uploaded), renew it or destroy it. To give it a readable address, point an IOTA Names name to it with Add a name. Details in Publish a site and Give your site a name.

Keep your site alive

A site is available as long as its files are. Renew it before it expires: one purchase covers at most 53 days on testnet (53 epochs). See Renew and destroy a site.

Next steps​

  • The tutorials cover every feature of the app, including what to do when something fails.
  • Concepts explains blobs, epochs, quilts and sites.
  • Developers explains how to read blobs from your own code, the JavaScript client and the command line for sites.