Skip to content

EthereumCommonwealth/Address-to-Address-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Global Ethereum messaging protocol.

Contract address at ETC chain: 0x6A77417FFeef35ae6fe2E9d6562992bABA47a676

This repository represents a reference implementation of a central messaging smart-contract that aims to provide a functionality to contact an owner of Ethereum hex-address directly.

This protocol can be used on cross-chain basis since any address can deliver a message for the owner of the address at the alternative chain.

Message system in use: ethereumproject/ECIPs#85 (comment)

General info

Here is a reference implementation of the described Message System at CLassicEtherWallet.

https://ethereumproject.github.io/etherwallet/#messages

Interchain Address-To-Address messaging contract is currently deployed on Ethereum CLassic chain at 0x6A77417FFeef35ae6fe2E9d6562992bABA47a676 address.

It is an open-source contract and it is licensed under GPLv3. Source codes could be found here: https://github.com/EthereumCommonwealth/Address-to-Address-messaging

Functionality

The described messaging system allows:

  • send messages
  • retrieve messages
  • display messages to a user when he/she unlocks a wallet to send a transaction

Howto

Sending a message.

  1. Open ClassicEtherWallet and go to messages tab. Make sure that you are at ETC network. It is necessary to use ETC network in order to send a message https://ethereumproject.github.io/etherwallet/#messages

  2. Unlock your wallet.

  3. Click a New Message section. newmsg

  4. Type the address and the message. newmsg2

  5. Click SEND button and wait for transaction info to appear. NOTE: It may take longer to calculate the transaction info if your network speed is low. newmsg3

  6. Check the transaction hash to make sure that your message was successfully sent. newmsg4

Watching your messages.

  1. Open ClassicEtherWallet and go to messages tab. It doesn't matter what network you are currently at to display your messages. You can retrieve ETC messages being on UBQ network. https://ethereumproject.github.io/etherwallet/#messages

  2. Unlock your wallet. Wait for messages to load. It may take a minute or something like this because it requires a number of contract calls. NOTE: You can view messages with address only but you will not be able to respond if you are using this method of message checking. viewmessage1

  3. You can also reply to a message if you want. However, it requires gas. viewmessage2

NOTE: This is an emergency message system! Not an on-chain chatroom.

Every symbol that you broadcast to the network will cost you gas. This is not an on-chain chat! This is only an emergency system that allows you to contact an owner of a certain address if there is no way to contact him off-chain. For example if you accidentally sent a number of funds into someone elses address or if you want to interview TheDAO hacker.