Code Monkey home page Code Monkey logo

nanochat's Introduction

nanochat

A decentralized chat based on Nano transactions

(To connect to nodes without ssl, we cannot use this chat with https. So I am not using GitHub Pages as it uses https. Then use the link above or download the files )

Introduction:

Imagine yourself using Nano Currency to Send messages! In fact, you can't add extra bytes in a Nano Transaction. But we can hack the system!

Nano supports 30 digits after the first comma. For example, the minimum fraction of Nano is 1 raw: 0.000000000000000000000000000001 Nano

So, we can use all this numbers to save "flags". For example: 0.000000004068757578005578817567 = "Hello World"

We use 2 digits for each character, so we we have 100 differents characters (10²) And we can save 15 characters using less than 1 Nano (0,99999999999...) Or, we can save 13 characters using less than 0.0001 Nano

For better use it was necessary to create a new coding method. We can call it base100. It is the representation of 100 different characters, with their respective decimal numerical values. Following the table base100 in the photo below, it was inspired by ASCII. They are the last 94 characters of the table ACII + ÃÉÇãéç. Totaling 100 characters, their decimal values start at 00 and go up to 99.

nanochat's People

Contributors

anarkrypto avatar jefterrocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jefterrocha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.