ULOG 010 - POCKET, a subchain on the Steem blockchain
ulog·@quochuy·
0.000 HBDULOG 010 - POCKET, a subchain on the Steem blockchain
Nothing very special today. I worked from 3:00 am till a bit later than 7:00 am! I was sleepy the whole session lol. Then slept at 8 am but bloody woke up at 12 for some odd reasons. I could not go back to sleep until 4:30 pm to wake up again at 8:30 pm to get ready for another shift from 9:00 pm until 01:00 am.  This afternoon, while not being able to sleep, I decided I'd resume the development for my Javascript version of the POCKET's Confirmer Python code. ## What is POCKET? POCKET stands for Proof Of Concept Electronic Token (the K is silent). > It is a sub-token designed to operate on the Steem blockchain and interact with its users through a simple set of commands which users can invoke via interfaces such as Steemit.com and Busy.org. Please see [the POCKET announcement on Steemit](https://steemit.com/pocket/@biophil/pocket-announcement) and [the POCKET Genesis Post](https://steemit.com/pocket/@biophil/genesis-pocket). <sup>[Source](https://github.com/biophil/pocket)</sup> POCKET is a project by @biophil. In a nutshell, it is a cryptocurrency that uses the STEEM blockchain as a base. It uses STEEM comments to execute commands such as sending tokens and confirming them. The distribution of POCKET tokens has already stopped but many people still own some tokens and distributing them as tips via the comments. Here is an example:  In the screenshot above, @pode has decided to send 11 POCKET tokens to @ninegagbot. To do this he just wrote this in a comment on any post: `pocketsend:11@ninegagbot, play around with the token of fun - POCKET!` That command means is formatted as followed `pocketsend:amount@recipient,MEMO` Easy isn't it? Now, POCKET still needs some kind of witnesses to verify transactions like this, they are called Confirmers. From the screenshot above, you could see a reply by @pocket-node confirming that the transfer of 11 POCKET tokens has been successful and that 1 POCKET token has been retained by @pocket-node as a confirmation fee. ## POCKET-JS I've been interested in this Proof Of Concept since I discovered it when I spotted a `pocketsend` command on one of @livvu's amazing art posts. After several discussion with @biophil, I decided I would port his Confirmer code from Python to Javascript (NodeJS). I've started working on it a while ago but got busy with other stuffs. Today, I managed to get some time and resume it a little bit. It is still not running yet, so far those have been ported: - the database - the constants - the validator - the voter class I still need to complete these: - the confirmer class - sending comments and upvotes to the STEEM blockchain - linking all the classes together There are also unit tests on the database and validator codes. <center> https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmZyMQMEuGUpBQxcuqVYNTM1hG2n7De2vix7SGee6xrM7N/quochuy-ulog.gif </center> <hr/> ## Related content - [ULOG 009 - The toy cupboard](https://steemit.com/ulog/@quochuy/ulog-009-the-toy-cupboard) <hr/> |Do more on Steem -|- |On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. [Vote for me via SteemConnect](https://steemconnect.com/sign/account-witness-vote?witness=quochuy&approve=1) to help me do more useful projects for the community. https://steemitimages.com/0x0/https://s13.postimg.org/3ybqpr1mv/Logo_1-1_Small.jpg|[Join me on Homesteaders Online's Discord](https://discord.gg/VKCrWsS) https://steemitimages.com/DQmamEb6hUkY5rpNc1YNvHUQ9XGPkWTmMMVowCd7MnJMJgL/TA.BADGE.png|If you are Australian (even abroad), [join #teamaustralia](https://discord.gg/EEK6WnC)! <hr/> ## Credits - The image at the top has been generated with the [Canva app](https://www.canva.com/) using my own photo. <hr/> <div class="pull-left"> [](https://steemit.com/utopian-io/@quochuy/steemed-phish-v0-0-28-phishing-detection-improvements) <sup>[Learn more about Steemed Phish](https://steemit.com/utopian-io/@quochuy/steemed-phish-v0-0-28-phishing-detection-improvements)</sup> </div> ## Protect your money against Phishing Scam! Cryptos accounts are the target of international scammers because they want your hard earned money! Those people are very clever and in a moment of inattention, you've given them your login and password! I've created a Chrome extension that can help you detecting scam links! [Install Steemed Phish Chrome desktop browser extension now!](https://chrome.google.com/webstore/detail/steemed-phish/eiaigalhddmmpdnehcigmlmgllomljgj) ## Password and Private Keys security You all know that your Steem password is the access to all your STEEM, SBD, posting, transferring, everything... **right?** So, please, follow these simple steps and keep yourself safe: 1. Apart from the initial setup of your account, **NEVER** use your password **ANYWHERE**, if stolen, it will give full control to your Steem account. 2. Backup your password and keep it somewhere safe. Use a password manager like [Lastpass](https://lastpass.com), print it on paper and put it in a safe (no kidding). If you forget your password, **no one** can help you out. 3. To login for creating content and curating, use your **Private Posting Key** 4. To make transfers and account operations, use your **Private Active Key** 5. To encrypt and decrypt memos, use your **Private Memo Key**
👍 a-alice, carlpei, anzub, zcool, dgi, steembasicincome, steemitguide, teamaustralia, travelgirl, bobdos, adollaraday, symonp, jackmillerbot, mrakodrap, calicabre, choogirl, centerlink, mikepedro, urs, webcoop, masterwu, cryptwo, bec-on-the-block, terrylovejoy, positiveninja, melbourneswest, mumma-monza, fibrefox, quochuy, lifeofryan, sue-stevenson, niouton, lifeobserver, ausbitbank, gamersclassified, gio6, benleemusic, jason.che, chrisdavidphoto, vincy, ryivhnn, steemit-games, hlaingwin2, sanketa, livvu, kaeley, bjoernb, az88822, khine, soso12, zalaton, zayaymin19881, battlezeo, zarzar, kyawmin, khinthuzar, pierreh37, vicrew12,