Ebola on Ethereum

The ebola genome on the Ethereum blockchain served up from a smart contract.

Smart Contract Ethereum Address: 0xe16f391e860420e65c659111c9e1601c0f8e2818

Check out the Github Repo for all the code. Or read the Medium Article about the the why and how it was created.

The contract has a few functions you can use each will produce a response. The genome file is hosted on Swarm, Ethereum's decentralized file storage. A bit.ly link will redirect you to the full Swarm URL (it's kind of long).


Interacting with the Smart Contract:

IMPORTANT: Sending Ether or tokens to this contract is a bad idea. You will not get these funds back, and there is no method to retrieve them if you do so. If you want to tip, use the tipping address (0xF3b1c7cA8fC7427D57328664902d4BD257B2EB0F).

Functions that can be used with Web3.js and Node.js or Geth and their resulting responses from the smart contract.


Callable Functions:

"getEbola()"

Returns a bit.ly URL that will redirect to the smart contract

URL: http://bit.ly/0x4554482b45626f6c61

"getInfo()"

Returns two strings. "0" Is a hello message from the creator in Esperanto. "1" Is some basic info on the ebola virus genome the contract contains a link to; sourced from here.

Result {
'0': 'Saluton, mia nomo estas Zach!',
'1': 'Ebola virus - Zaire, cat.1976' }

"tipCreator()"

Returns a text string and an Ethereum address. "0" Is a message from the creator in English. "1" Is the address you can send a tip to if you're feeling generous and or amused.

Result {
'0': 'If you like you can tip me at this address :)',
'1': '0xF3b1c7cA8fC7427D57328664902d4BD257B2EB0F' }

"tipCreator()"

Returns a text string. While you can try to execute this function with a transaction, it will not do anything as only the creator can kill the contract. If you create a transaction calling this function and you are not the creator, the transaction will still process, but the contact will live on... You'd be wasting your Ether and time.

Vi ne havas povon ĉi tie!