«Blockz10»

Sistema de blocos para criar outras funções

Block system for creating other functions

Codificação, criptografia aplicada e distribuição conservativa de valor — a partir de regras mínimas sobre estruturas finitas.

Encoding, applied cryptography and conservative value distribution — from minimal rules over finite structures.

Joaquim Pedro de Morais Filho · j360074@hotmail.com · 2020–2026

Python 3JavaScript 12/12 tests ✓MIT License registrado on-chain (NFT)registered on-chain (NFT)
▶ Assistir ao vídeo (60s) ▶ Watch the video (60s) Código-fonte Source code

# O conceito

# The concept

Toda função do Blockz10 nasce do mesmo gesto: blocos discretos, uma estrutura fixa e uma regra local. A regra aplicada à estrutura gera a função — compressão, decriptação-prêmio ou redistribuição de valor.

Every Blockz10 function is born from the same gesture: discrete blocks, a fixed structure and a local rule. The rule applied to the structure yields the function — compression, prize decryption or value redistribution.

01 · BLOCO / BLOCK

Unidade mínima

Minimal unit

Cada bloco carrega um valor e um endereço — um caractere e/1, ou uma célula de valor 10 apontando para um nível.

Each block carries a value and an address — an e/1 character, or a value-10 cell pointing to a level.

02 · ESTRUTURA / STRUCTURE

Arranjo finito

Finite arrangement

Uma string de 64 símbolos ou uma pirâmide de 15 blocos em 5 níveis. Nunca aberto, nunca infinito — o fechamento é o que permite conservação.

A 64-symbol string or a pyramid of 15 blocks in 5 levels. Never open, never infinite — closure is what enables conservation.

03 · REGRA / RULE

Aritmética local

Local arithmetic

Contar repetições, dividir totais, redistribuir cotas. Regras simples o bastante para caber num contrato — e serem auditáveis.

Count repetitions, divide totals, redistribute quotas. Rules simple enough to fit in a contract — and be auditable.

04 · FUNÇÃO / FUNCTION

O que emerge

What emerges

Compressão sem perda, loterias verificáveis, splits determinísticos de pagamento, tokenomics de sistema fechado.

Lossless compression, verifiable lotteries, deterministic payment splits, closed-system tokenomics.

# Codificação {e, 1} — demo ao vivo

# The {e, 1} encoding — live demo

Sequências de e viram um dígito de contagem; 1 permanece literal: eee11 → 311. Como e e 1 são dígitos hexadecimais válidos, uma string {e,1} de 64 caracteres é simultaneamente uma chave privada Ethereum sintaticamente válida e uma mensagem comprimível.

Runs of e become a counting digit; 1 stays literal: eee11 → 311. Since e and 1 are valid hex digits, a 64-char {e,1} string is simultaneously a syntactically valid Ethereum private key and a compressible message.

Nota de segurança: uma chave restrita a {e,1} tem 64 bits de entropia (não 256). Isso é proposital nas construções de puzzle e loteria — a chave deve ser descobrível. Nunca a use para custódia de fundos reais.
Security note: an {e,1}-restricted key carries 64 bits of entropy (not 256). That is intentional in puzzle and lottery constructions — the key must be discoverable. Never use it to store real funds.

# Block 15/5 — a anti-pirâmide

# Block 15/5 — the anti-pyramid

15 blocos de valor 10 em 5 níveis, mais o bloco de origem (nível 0, valor 0). Total: 150. Cada nível divide seu total entre níveis receptores. Diferente da pirâmide financeira clássica, o sistema é fechado e conservativo: o topo vale zero, o valor flui para a base e a soma sempre retorna — a menos da poeira de arredondamento, que é rastreada, não perdida.

15 value-10 blocks in 5 levels, plus the origin block (level 0, value 0). Total: 150. Each level divides its total among receptor levels. Unlike the classic financial pyramid, the system is closed and conservative: the top holds zero, value flows to the base and the sum always returns — up to rounding dust, which is tracked, not lost.

# Vídeo explicativo

# Explainer video

60 segundos: o conceito, a codificação, a pirâmide e as aplicações.

60 seconds: the concept, the encoding, the pyramid and the applications.

# Uso rápido

# Quick start

# Python
>>> from blockz10 import encode, decode, Block155
>>> encode("eee11")
'311'
>>> r = Block155().distribute()
>>> r.total_in, r.conserved
(150.0, True)

Implementações de referência em Python e JavaScript, com 12 testes cobrindo round-trip da codificação e conservação de valor. Especificação formal completa em SPECIFICATION.md.

Reference implementations in Python and JavaScript, with 12 tests covering encoding round-trips and value conservation. Full formal specification in SPECIFICATION.md.

# Autor

# Author

JP

Joaquim Pedro de Morais Filho

j360074@hotmail.com

Criador do sistema Blockz10 (2020) e do modelo de distribuição Block 15/5 (2022). O conceito foi registrado on-chain como NFT na rede Ethereum (coleção Blockz10 · OpenSea) e documentado publicamente desde a origem em blockz10.blogspot.com.

Creator of the Blockz10 system (2020) and the Block 15/5 distribution model (2022). The concept was registered on-chain as an NFT on Ethereum (Blockz10 collection · OpenSea) and publicly documented since its origin at blockz10.blogspot.com.