Bitcoin Forum

Alternate cryptocurrencies => Announcements (Altcoins) => Topic started by: eule on March 20, 2017, 06:20:35 PM



Title: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 20, 2017, 06:20:35 PM
Infocoin aims to provide an uncensorable space for storage of information directly on the blockchain, a space to safely store messages, files, forums, anything.

For this purpose I cloned Cryptonote, increased TX_EXTRA_PADDING_MAX_COUNT from 255 to 102399, set the initial block size to 150KB and adjusted the blocksize growth to 20% per year. That means you can store up to 100KB per transaction, ofcourse you must pay a fee for which the optimal values will have to be found. Also the block reward is a thousandth of most Cryptonote coins (~700 initially). If these are sane values will have to be tested for sure, I'd also like to hear your input on these. Should feedback be positive I'll do an embarassing test release.

I am a noob when it comes to coding and forking coins, so I followed https://cryptonotestarter.org/inner.html for the most part, who have done outstanding work. Not sure if my changes will have the desired effect or break anything, so there will be a test release, to find out if the idea is even achievable.

Why did I go with Cryptonote? Well, because it's the only coin I was able to successfully fork so far. A Bitcoin clone might be way more suitable for this idea because of OP_RETURN seeing plenty of use already, so there are many ways to insert data into and retrieve data from the Blockchain already. TX_EXTRA doesn't see much use in Cryptonote coins so far and thus there is not much info to be found about it. I don't know how to insert data into the TX_EXTRA field in transactions, it is possible however (one likely needs a modified wallet to do this): http://monero.stackexchange.com/questions/1381/how-are-the-various-tx-extra-types-formats-used

If you are an experienced dev and like the idea, feel free to help or even take over. I just want to make the idea popular because the implications are pretty huge. It could be possible to e.g. make a forum that is impossible to censor, upload files, directly reward good posts. Astroturfing would be expensive as well, the fee should provide quality and security. So this is basically just a thread to see if the community likes the idea.

Also, yes, there have been a few Infocoins already, all seem dead and they didn't come close to the name anyways.

TO DO before release:
Find a way to insert data into transactions (tx_extra)
Explore other options besides Cryptonote
Seed node
Windows Wallet
GUI Wallet
Testing, testing, more testing

edit: TEST RELEASE in fifth post! https://bitcointalk.org/index.php?topic=1835332.msg18269690#msg18269690

edit 21st July: Network for testing is up and running.

PS: Why has noone tried this idea yet?  :D


Title: Re: [PRE-ANN] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 20, 2017, 06:57:19 PM
Added a poll to learn more about the forum's opinion.

I'll clean up the code, change initial blocksize to 200kb and do a test release I guess.

I would really like to know your opinion on if I should go with a Cryptonote clone (data in TX_EXTRA) or a Bitcoin/Litecoin clone (data in OP_RETURN). I attempted to clone HODLcoin 1.0 (and a few others) but got stuck, documentation is really sparse when it comes to cloning Bitcoin Core based coins and I don't want to go with a four year old litecoin codebase. Will attempt it again if I am told that inserting data into TX_EXTRA on Cryptonote is a pain in the ass.  :P

Another big advantage of a Cryptonote clone would be the anonymity features.

I want to go with CPU-mining to provide some botnet hashing power btw. Since those are unlikely to disappear, they make the blockchain more secure even when "normal" miners have left, validating the stored information.



Title: Re: [PRE-ANN] Infocoin | Uncensorable Data in the Blockchain
Post by: DRPD on March 20, 2017, 07:51:55 PM
hi

i like the general idea a lot

as for anonymity features i'm not sure if this can be a solution for you and Infocoin but maybe u want to check out ZEROCOIN PROTOCOL.

how about a PoS coin/token only and/or cpu mining for distribution and early days, secure network and later switch to PoS only?

sorry i can't help you with Bitcoin/Cryptonote Code and stuff.
maybe i will help later if i can @ a later phase with this project (tech stuff and such).

atm i'm realy busy with other projects and realife. but i will watch this thread and project closly.

Good luck and keep it on



Title: Re: [PRE-ANN] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 20, 2017, 08:04:15 PM
Zerocoin indeed looks interesting, it is possible to insert data into transactions aswell via OP_RETURN (max. 25 bytes). I will have a deeper look at it, the Lyra2 algo might be just the right choice to attract miners.

As for POS,  I never got the huge appeal, as I tend to not horde my coins. Properly implementing it would go way over my head currently anyways.

Thanks for the feedback, glad you like the idea.


Title: Re: [PRE-ANN] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 20, 2017, 10:09:39 PM
EXPERIMENTAL TEST RELEASE! MINED COINS ARE WORTHLESS! BLOCKCHAIN WILL BE RESET BEFORE LAUNCH!

Alright, I changed a few things (mined coins can be spent after three blocks, initial 150kb blocksize with 20% annual increase), sourcecode is here:
https://github.com/euleausberlin/infocoin

Compiling on *nix:

Code:
apt-get install build-essential git cmake libboost-all-dev
git clone https://github.com/euleausberlin/infocoin
cd infocoin
make  // make -j 1 on machines with low RAM
The resulting executables will land in /build/release/src and can be started with ./infocoind and ./simplewalletd .

Since there are no seednodes yet, you can either try to connect to my node:
Code:
./infocoind --add-peer 178.200.249.149:5588
(IP will change, not sure if reachable from outside, just a VM behind an ipv6 address, damn DSLite)[/s]

or you'll have to provide your own nodes or use the --testnet and --data-dir switch. More commands for the programs can be found here: http://forknote.net/documentation/daemon/


I will provide a seednode later if interest becomes apparent. Note that I wasn't able to test simplewallet functionality outside of testnet yet, always get an HTTP error 2 when trying. In Testnet it works fine, I guess simplewallet will work when the daemon is connected to a different daemon. Not sure about that though.

Two seednodes online, one in Germany, one in the US. Mining works fine!

Compiling on Windows is difficult and will be done later.

Note: I am a noob and things might be broken!  ;D

Still need to find a way to add data. Trying to add data during the transfer via -p results in an error message about it wanting an encoded 64 char key, maybe that restriction can be changed or a similar function added.

Sorry for double posting.  :P

edit: Found https://getmonero.org/knowledge-base/developer-guides/wallet-rpc#transfer, this could totally work  :D


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 21, 2017, 12:56:21 AM
Talked to moneromooo on irc and this could pretty much work already. It would be cleaner if I'd make a new "tag" for the extra data but since tx_extra isn't used anyways it's the logical (aka easy) choice.

To insert data into it I "just" need to modify the wallet to send the proper RPC command. It should already be possible to construct a transaction with simplewallet in RPC mode using PARAMS="{\"extra\":\"hello world\"}" , which will be the next thing I test.

My seednode will be ready tomorrow. Any feedback, testing and help is hugely appreciated!

Sorry for triple-posting, it's not my fault that nobody recognizes the most revolutionary thing in the cryptoworld since Bitcoin.  ;D


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: ICOcountdown.com on March 21, 2017, 01:10:27 AM
I am interested in adding this to http://icocountdown.com

It doesn't matter if it will be a crowdfund or not or a mining period.

Please get in contact with me team.

Email: alex@icocountdown.com

Skype: icocountdown

Telegram: @Alexanderico


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 21, 2017, 01:18:22 AM
Thanks for the interest.  :)

By an optimistic estimate launch is two days away. I only want to launch this when there's a way to store the data that everyone can easily use. At least messages must work at launch, the other possibilities can be developed later.

Without a seednode or even other computer testing is very cumbersome, which is why I'll do the bulk of the work tomorrow when the server is ready.


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: MargonCreatives on March 21, 2017, 01:19:03 AM
check pls PM :)


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: briton on March 21, 2017, 01:28:26 AM
Any bounty campaign dev???
Reserve indonesian translation sir
thank you


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: hamburger on March 21, 2017, 07:17:21 AM

Is this coin not what you want to achieve here?

Datacoin

A decentralized data storage cryptocurrency

http://datacoininfo.org/

https://bitcointalk.org/index.php?topic=348561.0


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 21, 2017, 02:08:38 PM
From what I understand, the data in your example is not stored in the blockchain but on several miner's hard disks. This means it is not close to being as secure and uncensorable as when being stored directly in the blockchain.

While it is obvious that a lot of thought was put into this solution, it feels cumbersome and not as "elegant" as simply allowing big amounts of data in every transaction.


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: lucky80 on March 21, 2017, 03:00:28 PM
carry on ... im watching this curiously..


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on March 21, 2017, 03:20:34 PM
Still waiting for my server, should be ready soon. Then I will insert it as a seednode and do a second test release, that hopefully more people will try. Currently working on compiling a Windows version, I hate compiling on WIndows.


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: bugreporterr on April 17, 2017, 09:47:55 PM
You are reinventing Datacoin

https://github.com/foo1inge/datacoin

Maybe you can take over the code? The chain is alive so you have users and miners already


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on July 20, 2017, 11:41:26 PM
Got around to get a server and fix some compiler errors (New GCC version won't compile things that worked on old version, crazy behavior imo. See https://github.com/cryptonotefoundation/cryptonote/pull/42 ). Having trouble getting the seednode up and running though, any experienced coin dev want to lend me a hand? The seednode won't recieve blocks I mined with a different node:
Code:
23:39:54.997810 INFO [109.90.203.246:55350 INC] Sync data returned unknown top block: 0 -> 10 [10 blocks (0 days) behind]
23:39:54.997810 INFO SYNCHRONIZATION started
23:39:55.344800 WARNING [165.227.143.230:57839 INC] Exception in connectionHandler: TcpConnection::read
23:39:57.346993 WARNING [165.227.143.230:47989 INC] Exception in connectionHandler: TcpConnection::read
23:39:59.349113 WARNING [165.227.143.230:46313 INC] Exception in connectionHandler: TcpConnection::read
23:40:01.350931 WARNING [165.227.143.230:39943 INC] Exception in connectionHandler: TcpConnection::read
23:40:03.352708 WARNING [165.227.143.230:45965 INC] Exception in connectionHandler: TcpConnection::read
23:40:05.356370 WARNING [165.227.143.230:54493 INC] Exception in connectionHandler: TcpConnection::read
23:40:07.048595 INFO [109.90.203.246:55352 INC] Sync data returned unknown top block: 0 -> 10 [10 blocks (0 days) behind]
23:40:07.048595 INFO SYNCHRONIZATION started
23:40:07.358215 WARNING [165.227.143.230:40525 INC] Exception in connectionHandler: TcpConnection::read
23:40:09.360263 WARNING [165.227.143.230:35869 INC] Exception in connectionHandler: TcpConnection::read
My first guess is iptables, will check that (edit: It's not iptables). Anyone having a clue?

Blockchain and genesis block will be reset, so don't mine for profit.  :P


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on July 21, 2017, 01:42:48 AM
Turns out that one needs two seednodes.  ::)
Network is up and running, feel free to experiment. If you want some coins to test something, PM me and I will send you some tomorrow. As said, the blockchain and genesis block will be reset before release, all mined coins are worthless.

Next steps:
Insert large amounts of data into transactions
Windows wallet


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: jwsu1113 on July 21, 2017, 01:49:36 AM

Intereting
Looking promising project near to me. will keep my eyes on it.looking forwards. Interested to join the bounty. when the accepted participate list will be available ?


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on July 21, 2017, 01:52:17 AM
There will be no premine or initial bounties. This is supposed to be a community effort.

Maybe bounties for some services are possible, like the first forum or imageboard that gets it's data from the blockchain.  ;)


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: Islapdonkey on July 21, 2017, 01:35:24 PM
Your thread made a happy :'( drop from my face. We rarely get honest thread post anymore and no premine.  :-* :-*


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: leonard852 on July 21, 2017, 01:41:26 PM
Great new ANN!   Doing great DEV. Keep this up .The project is very good, the future will likely be one of the very successful projects


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: kicauklaten on July 21, 2017, 01:48:17 PM
I think Infocoin is great project and many people support this.
Goodluck dev


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: abjingyun on July 21, 2017, 01:54:00 PM
Great new ANN!,Interesting project,watching and going to participate, I think this project have a bright future .


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: malcolml4 on July 21, 2017, 01:56:45 PM
support,the idea is good, will pay attention to your post and further information. :D


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: abjingyun on July 21, 2017, 02:12:47 PM

It seems a pretty interesting project, ICO is pretty good, but I'm not sure to join,
I'll keep seeing the next developments and within a few days left to join the signature campaign, I'll keep seeing until I decide to join or not, good luck


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on July 21, 2017, 02:20:31 PM
Thanks a lot for the interest. Currently tearing my hairs out while fighting with Visual Studio to compile the Windows wallet.  ;D

Also I found out that you NEVER should use walletd to open a wallet created with simplewallet, as walletd will save the wallet in a different format that can't be opened with simplewallet anymore. Luckily it's possible to export the keys and import them back into simplewallet.

Inserting data into the tx_extra field requires the use of walletd RPC commands at the moment, which is new to me, I have a lot to learn. See https://wiki.bytecoin.org/wiki/Send_transaction_-_Bytecoin_RPC_Wallet_API . If an experienced dev wants to help, shoot me a PM.

Also to clarify: There will be no ICO.


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: eule on August 01, 2017, 08:29:25 PM
The good news: The test network is running smoothly and I mined a ton of worthless coins.
The bad news: I am so far unable to add extra data to a transaction.

According to https://wiki.bytecoin.org/wiki/Send_transaction_-_Bytecoin_RPC_Wallet_API, this should work:
Code:
curl -X POST -i -H "Accept: application/json" -d '
{  
  "params":
{  
"anonymity":0,
"fee":1000000,
"unlockTime":0,
"paymentId":"",
"addresses":
[  
"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ"
],
"transfers":
[  
         {  
           "amount":10,
           "address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx"
         }
],
"changeAddress":""
},
"extra":"HELLOWORLD",
"jsonrpc":"2.0",
"id":"test",
"method":"sendTransaction"}
' http://127.0.0.1:8070/json_rpc
This is the output I get from walletd:
Code:
HTTP/1.1 200 OK
Content-Length: 773
Server: CryptoNote-based HTTP server

{"id":"test","jsonrpc":"2.0","result":{"transaction":{"amount":-1000010,"blockIndex":4294967295,"extra":"016d7bb13f30dffd6e62361abbf0eb64b1d946455bd5d2d4bf37f63c11fbece5f0","fee":1000000,"isBase":false,"paymentId":"","state":0,"timestamp":0,"transactionHash":"23dabee38c0354bc8dbd4c800e19d9df1295c5a2fc237969cf8fb3e67c45793a","transfers":[{"address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx","amount":10,"type":0},{"address":"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ","amount":8999052258,"type":2},{"address":"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ","amount":-9000052268,"type":0}],"unlockTime":0}}}
As you can see, the extra field contains no "HELLOWORLD"...
When I put the extra field above the transaction, like this:
Code:
curl -X POST -i -H "Accept: application/json" -d '
{  
  "params":
{  
"extra":"HELLOWORLD",
"anonymity":0,
"fee":1000000,
"unlockTime":0,
"paymentId":"",
"addresses":
[  
"iz4Z1u39PLbg3djCXo9CBGdXRLrBtf7ceTfmZAsvhaANUBQixShfRXV8eyaoAQJmqhZYuZyar6ptbXUBNufDi6c51yxiqr8wJ"
],
"transfers":
[  
         {  
           "amount":10,
           "address":"iz5NJ4B5Rc6AmtoiVFoJy2jWGDvKPMGuoGCmNxL2t9sXZ2LUXUJPZLrX3pLau4P9tjY4M2VyoYGPWjn6mETrNsqJ2T21YtMtx"
         }
],
"changeAddress":""
},
"jsonrpc":"2.0",
"id":"test",
"method":"sendTransaction"}
' http://127.0.0.1:8070/json_rpc
I get:
Code:
{"error":{"code":-32600,"message":"Invalid Request"},"id":"test","jsonrpc":"2.0"}
If somebody could tell me what tag to use, I would be forever grateful. I tried a lot, like extra_padding, tx_extra_tag_padding, basically all variations  of the tags seen in: https://github.com/euleausberlin/infocoin/blob/master/src/CryptoNoteCore/TransactionExtra.h I could think of.

Unfortunately, while there is some information on why and how tx-extra is supposed to be used, there is very little information on how to actually do it. A little push in the right direction from someone who actually knows Cryptonote would be much appreciated.

TODO: Insert data into transactions
Fix evil Cryptonote bug from a few months ago (already have the commit with the necessary changes thanks to moneromoo, but no need to do that until data can be inserted)
Windows wallet


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: intec on August 09, 2017, 12:40:57 AM
Keep in mind how dangerous a currency like this can be.

Here is why you should not do it as of now :

You have no tools to protect this decentralized blockchain.


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: julerz12 on August 09, 2017, 12:48:27 AM
Great project all in all, but the name.. not really,
it's already been taken: https://bitcointalk.org/index.php?topic=1967550.0
(Note that this Info coin is already listed on some exchange)
So, I would suggest another name. Maybe Datacoin?  ;D


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: bugreporterr on August 09, 2017, 11:09:26 AM
https://bitcointalk.org/index.php?topic=325735.0

Datacoin already taken and still active


Title: Re: [PRE-ANN] [TESTNET] Infocoin | Uncensorable Data in the Blockchain
Post by: GameKyuubi on August 26, 2017, 08:25:26 AM
Datacoin already exists and is still alive in the shadows.  Maybe you should work with the Datacoin community?  There are still quite a few dedicated supporters remaining.