Bitcoin Forum
September 05, 2024, 04:02:42 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Create Your Private Messenger in 10 minutes!  (Read 462 times)
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
November 17, 2018, 12:42:50 AM
Last edit: November 17, 2018, 08:36:14 AM by bomj
Merited by seoincorporation (2)
 #1

Create your private messenger in 10 minutes!
Own Private Messenger.
An example of a free messenger for a specific circle of participants.

This is an example of a public messenger:
http://wall.0xbt.net/ball2.html

Works on the Rinkeby test network

To create your own messenger.
1. Go to MyEtherWallet
- Section 'Contracts'
- Click 'Deploy Contract'
- Paste "Byte Code":
Byte Code here

Gas Limit at its discretion, asked 3,000,000
- Connect to MetaMask
- Click 'Sign Transaction'
- Click 'Deploy Contract'
- When calling MetaMask, you can safely reduce the Gas to 10 gwei

You have created a contract of your messenger!

2 In this code, change the contract 0xae4243e2c0f910223323dd2f2fdd16820b69f1d6
- insert your contract in lines 31 and 70
Code here

Copy the code and convert to Base64 https://base64.0xbt.net/
Before the code, insert "data:text/html;base64,"
Paste the received code into the Google Chrome browser line.

Everything, you have your own messenger.
All you have to do is share the received code with your relatives or with friends.
Looking for what purpose you created it.
If you want to encrypt your messages, you can use service https://webcrypt.0xbt.net/
Using this messenger in the Rinkeby network you can use
its free. For this you need a test Ether.

Good luck!

FleurTunisienne
Member
**
Offline Offline

Activity: 265
Merit: 14

Nina


View Profile
November 17, 2018, 06:23:32 PM
 #2

It's very cool to make it simplified in this way. As a regular user of the internet (having few technical knowledge about security) i would like to ask about what effecient this could be. Why should i develop my own chat private messenger? Is this only available for ethereum users? means i can only share it with my crypto-community to discuss within?
Questions look dumb but i want some answers about this.. This may would be my first try in deploying contracts in ethereum virtual machine.
By the way, how much costs the contract deployement in the eth net??

Call me "SAW"
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
November 18, 2018, 10:04:36 AM
 #3

............

Every contract is open.
But who needs your contract?
There are thousands of contracts on Ethereum
Simply distribute the address of the contract or the resulting code
to your friends, and only your group will use this channel.
Use Rinkeby test network. It is free.
For this you need MetaMask and a bit of test ether.
Messenger code works on mobile devices.
MetaMask will soon be on mobile:
https://bitcointalk.org/index.php?topic=5061949.0

Mainnet
Main Network Contract:
0xa1F728aaC21373f83Ea5A6f32f0c1Bd5A16e00d8
TxHash: 0x19513f5a5c892802783b8740b75938fc85e546e677ceb3ee3d908da87c7d3290
Actual Tx Cost/Fee:0.001070148 Ether ($0.19)
Message: https://etherscan.io/address/0xa1f728aac21373f83ea5a6f32f0c1bd5a16e00d8#readContract
TxHash: 0x30920232bccd85fa4312ca0dc582b4e96352142035e70bab0dba6f11a1a52675
Actual Tx Cost/Fee:0.00046969 Ether ($0.08)

In the Russian-language part of the forum dev's help me to
solve another problem on this topic:
https://bitcointalk.org/index.php?topic=5070358.0
And if everything works out, it will be even more interesting.

FleurTunisienne
Member
**
Offline Offline

Activity: 265
Merit: 14

Nina


View Profile
November 18, 2018, 12:08:43 PM
 #4

Ok, then i will try it following the instructions you mentioned.
My thought is to add this as a suggestion for users in my website (under-developement) which dedicated to crypto niche.
Deploying contracts in EVM looks so easy to do and may helps everybody.
As it's free, am i able to ask you more questions here if i face some errors?

Call me "SAW"
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
November 18, 2018, 12:48:00 PM
 #5

As it's free, am i able to ask you more questions here if i face some errors?
Of course! Smiley

bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
November 21, 2018, 09:49:43 AM
 #6

Video Manual
Contract: 0xc0559f4b79A5eaEb210d216b4C81c3Ea800ce6B5

bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
November 25, 2018, 07:11:12 PM
 #7

Reduce code of the messenger.
Create a short link: https://ca.0xbt.net/mbm

More...

bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
December 01, 2018, 04:20:19 AM
 #8

Main Network Contract:
0xa1F728aaC21373f83Ea5A6f32f0c1Bd5A16e00d8

Byte Code

Piggy
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 01, 2018, 01:39:14 PM
 #9

A bit too expensive for a messanger, but perhaps using it in the test net could be viable.
Do you know if actually these testnet are actually getting "wiped" or reduced in block size from time to time? since they are just for testing after all.
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
December 02, 2018, 05:18:18 AM
 #10

A bit too expensive for a messanger, but perhaps using it in the test net could be viable.
Do you know if actually these testnet are actually getting "wiped" or reduced in block size from time to time? since they are just for testing after all.
I think such an instant messenger is convenient for anonymous use.
You can always easily create a new contract and a new messenger. I do it in 5 minutes.
Even if the test network disappears, you can always use another test network.
And if MetaMask will soon be on mobile, it will be even easier.
I'm constantly trying to find new ideas for using the blockchain.

Piggy
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
December 02, 2018, 09:12:32 AM
 #11

I think such an instant messenger is convenient for anonymous use.
You can always easily create a new contract and a new messenger. I do it in 5 minutes.
Even if the test network disappears, you can always use another test network.
And if MetaMask will soon be on mobile, it will be even easier.
I'm constantly trying to find new ideas for using the blockchain.

I agree those are fair points  Smiley


An idea on how this could be improved so that could be used on the main net is to save the message in a ipfs server, then save in the smart contract just a reference/address to the actual message. It wouldn't be anymore "how to set up a private messanger in 10 minutes" but the cost for the space usage wouldn't be a problem anymore for who is posting the message.

I didn't use an ipfs server before myself, but i'm considering giving it a try, it is a pretty common solution to overcome the cost of storing information on a smart contract.
mikronofficial
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 02, 2018, 12:10:01 PM
 #12

wow, thats sweet!
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
December 10, 2018, 03:18:59 AM
 #13

wow, thats sweet!
Try it yourself.
It's simple.  Wink

bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
December 24, 2018, 10:58:10 AM
 #14

Video Manual

seoincorporation
Legendary
*
Online Online

Activity: 3276
Merit: 3066



View Profile
December 24, 2018, 04:31:56 PM
 #15

Great aplication for smart contracts. But a service like a messenger can be coded for free. But is great to see how people finde more real aplications for these contracts. Y will try it this week when i get back home and if i get stuck i will let you know.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bomj (OP)
Sr. Member
****
Offline Offline

Activity: 1337
Merit: 288


0xbt


View Profile WWW
April 06, 2019, 11:18:16 PM
Last edit: April 06, 2019, 11:51:23 PM by bomj
 #16

...message in a ipfs server,...
"ipfs" This is great, but I think it is better not to depend on anyone!

!!!!!!!
Changes in the code:  
https://acdc.0xbt.net/index.php?topic=12.0

jademaxsuy
Full Member
***
Offline Offline

Activity: 924
Merit: 220


View Profile WWW
April 09, 2019, 09:57:07 AM
 #17

Well that would be good of course but we could use facebook messenger foe groupchat for free. There is no need to create for it for facebook has provided it already and again it is for free. The features were also good for you one.can modify it by making it private or public and even can post pictures and videos. So, in my case I would still use facebook messenger than this one. Besides, it is still in test net.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!