FeaturesGuide
Bit
Window
SidechainsDownload →

How BitWindow timestamps, BitDrive and CoinNews work

Timestamp a file on chain and verify it later, store text or files with BitDrive, write OP_RETURN graffiti and broadcast CoinNews stories in BitWindow.

Last updated

BitWindow can write data into the blockchain with OP_RETURN outputs. An OP_RETURN output holds data and no coins. Each tool that writes data makes a normal transaction from your wallet, so each one costs a network fee. After the transaction confirms, nobody can remove the data.

On eCash, the screens say eCash in place of Bitcoin.

Timestamps

A timestamp shows that a file existed at a given time. BitWindow calculates the SHA-256 hash of the file. Then it broadcasts a transaction with an OP_RETURN output that holds the word STAMP and the hash. The block that holds the transaction gives the time.

Only the hash goes on chain. Nobody can get the file back from the hash. To verify the timestamp later, you must have the exact same file. If one byte changes, the hash changes.

Timestamp a file

  1. Open the Wallet tab and select Timestamps. You can also select Timestamp File(s) in the Use Bitcoin menu.
  2. Select Timestamp New File (or Timestamp Your First File).
  3. Select Choose File. The maximum size is 1 MB.
  4. Select Timestamp File.

If you timestamp a file that already has a timestamp, BitWindow does not send a new transaction. It shows the timestamp that you have.

The list of timestamps

File Timestamps shows the columns Filename, Hash, Timestamped, Status, Block Height and Actions. The status is one of these:

Status Meaning
Confirming (0) The transaction waits for its first block.
Confirmed (n) The transaction is in a block, with n confirmations.
Failed After 14 days, the node still did not know the transaction.

If a timestamp failed, timestamp the same file again. BitWindow sends a new transaction for it.

Select View Details to see the Filename, the File Hash, the time, the Confirmations, the Transaction ID and the Block Height.

Verify a file

To verify a file means to find its timestamp on chain.

  1. Select Verify File (or Verify a File).
  2. Select Choose File.
  3. BitWindow calculates the hash and looks for it in the timestamp records.

If BitWindow finds the hash, it shows "filename was timestamped at date", with the Block and the Transaction. If the transaction has no confirmation yet, you get "the timestamp is not confirmed yet". If there is no record, you get "no timestamp found for this file".

BitWindow reads timestamp records from the blocks. So it can also verify a file that a different BitWindow user timestamped.

BitDrive

BitDrive stores text or a file on the blockchain. Open it in the Use Bitcoin menu, under Blockchain Data Storage, or in the Wallet tab under Tools. The page title is Store Data on Bitcoin Forever.

Store data

  1. Select Store.
  2. Type text at What do you want to store?, or select Choose File. The maximum size is 1 MB.
  3. To encrypt the data, open Advanced settings and select Encrypt content (uses your wallet key).
  4. Select Store on Bitcoin.

BitWindow shows Content stored on Bitcoin! when it sent the transaction. Advanced settings also has a fee field.

BitWindow finds the file type from the first bytes of the file. It knows JPEG, PNG, GIF, PDF and plain text. Other files get the type bin.

Encryption

Without encryption, anybody can read the data from the chain. With encryption, BitWindow makes the key from your wallet seed. It also adds an authentication tag, so a changed record fails to decrypt. Only a wallet with the same seed can read the data.

Get your files back

Select My Files. The page shows Your files stored on Bitcoin, with the columns Date, Name and Size.

  • Scan for new looks through the OP_RETURN data that BitWindow read from the chain, and finds BitDrive records.
  • Download all saves the records that it found to the BitDrive folder.
  • Open Folder opens that folder on your computer.

When the node is in sync, BitWindow downloads the records by itself.

OP_RETURN Graffiti

Select Blockchain Data Storage and then OP_RETURN Graffiti in the Use Bitcoin menu. The Graffiti Explorer shows OP_RETURN messages from the blockchain with Time, Height, TXID and Message. You can search by message or txid, and you can set a date range with From and To.

To write graffiti, select New Graffiti, type a Message and select Broadcast. BitWindow sends 10,000 sats to a new address of your own wallet, with your message in an OP_RETURN output. The fee rate is 1 sat/vB.

CoinNews

CoinNews is news on chain. Each story is an OP_RETURN output in a topic. The Overview tab shows the Coin News widget. The home page can show different news widgets. Read Tools for the list.

Broadcast a story

Select Broadcast in the Coin News widget, or Broadcast CoinNews in the Use Bitcoin menu. The window Broadcast News opens.

  1. Select a topic.
  2. Type the story at Message (highlighted = headline). The first 64 characters are the headline. Push Enter to stop the headline earlier. All text after the headline is the content.
  3. Type a link URL, if you have one.
  4. Select the type: Link, Text, Ask, Show, Poll or Job.
  5. Select NSFW if the story is not safe for work.
  6. Type a fee at Fee (optional), if you want a higher place in the list.
  7. Select Broadcast.

The Help text says: "Anyone subscribed to the topic will see posts filtered by time and sorted by fee amount." The Coin News and Coin News (Large) widgets show stories in fee order. The Hacker Coin News widgets put stories in order of votes and age.

Votes and comments

You can vote on a story and write comments. Each vote and each comment is a transaction, so it costs a network fee. BitWindow warns you the first time. Put the mouse on the button to see the fee estimate before you pay.

Topics

A topic has a name and an identifier of 8 hex characters. Select Manage Topics in Extra Coin News Actions to open Manage News Subscriptions. It has three parts:

Part What it does
Your Topics Lists your topics. Export and Import use the clipboard. Restore Defaults adds the default topics again.
Subscribe Adds a topic from a text in the format {days}{identifier}Name, for example 7{a1a1a1a1}US Weekly.
Create Topic Makes a new topic with a Title, Header Bytes and Retention Days.

Subscribe and Create Topic both broadcast a transaction. The topic shows "(pending)" until the transaction confirms. You cannot make a topic with an identifier that already exists.

Retention Days sets how long a story stays current. The maximum is 255, and BitWindow uses 7 days if you type 0. Coin News hides older stories. Select Show Outdated to see them.

For private messages between two people, read Chat.

Questions

Does BitWindow put my file on the blockchain when I timestamp it?

No. BitWindow puts only the SHA-256 hash of the file on chain. The file stays on your computer. Keep the file, because only the same file can verify the timestamp.

How large can a file be for a timestamp or for BitDrive?

The maximum is 1 MB for both.

Can other people read what I store with BitDrive?

Yes, if you do not encrypt it. The data is in a public transaction. Select Encrypt content (uses your wallet key) under Advanced settings to encrypt it with a key from your wallet.

What does it cost to broadcast CoinNews?

Each story, vote, comment and new topic is a transaction, so you pay a network fee. In Broadcast News you can type a higher fee. Coin News shows stories in fee order.

What is OP_RETURN graffiti?

It is a short text message in an OP_RETURN output. The Graffiti Explorer shows the messages in the blockchain, and New Graffiti broadcasts your own.