100% found this document useful (1 vote)
26 views

Download Complete Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java 1st Edition Spiro Buzharovski PDF for All Chapters

Blockchain

Uploaded by

formozkugu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
26 views

Download Complete Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java 1st Edition Spiro Buzharovski PDF for All Chapters

Blockchain

Uploaded by

formozkugu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

Get ebook downloads in full at ebookmeta.

com

Introducing Blockchain with Java: Program,


Implement, and Extend Blockchains with Java 1st
Edition Spiro Buzharovski

https://ebookmeta.com/product/introducing-blockchain-with-
java-program-implement-and-extend-blockchains-with-java-1st-
edition-spiro-buzharovski-2/

OR CLICK BUTTON

DOWNLOAD NOW

Explore and download more ebook at https://ebookmeta.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

Introducing Blockchain with Java: Program, Implement, and


Extend Blockchains with Java 1st Edition Spiro Buzharovski

https://ebookmeta.com/product/introducing-blockchain-with-java-
program-implement-and-extend-blockchains-with-java-1st-edition-spiro-
buzharovski/
ebookmeta.com

Introducing Blockchain with Lisp: Implement and Extend


Blockchains with the Racket Language 1st Edition Boro
Sitnikovski
https://ebookmeta.com/product/introducing-blockchain-with-lisp-
implement-and-extend-blockchains-with-the-racket-language-1st-edition-
boro-sitnikovski/
ebookmeta.com

Learn Java with Math 1st Edition Ron Dai

https://ebookmeta.com/product/learn-java-with-math-1st-edition-ron-
dai/

ebookmeta.com

Statistics of Earth Science Data Their Distribution in


Time Space and Orientation 2nd Edition Graham J Borradaile

https://ebookmeta.com/product/statistics-of-earth-science-data-their-
distribution-in-time-space-and-orientation-2nd-edition-graham-j-
borradaile/
ebookmeta.com
Rethinking darkness cultures histories practices 1st
Edition Nick Dunn Editor Tim Edensor Editor

https://ebookmeta.com/product/rethinking-darkness-cultures-histories-
practices-1st-edition-nick-dunn-editor-tim-edensor-editor-2/

ebookmeta.com

Junkyard Blues 1st Edition Al Moye

https://ebookmeta.com/product/junkyard-blues-1st-edition-al-moye/

ebookmeta.com

Marketing: An Introduction, 15th Global Edition Gary


Armstrong

https://ebookmeta.com/product/marketing-an-introduction-15th-global-
edition-gary-armstrong/

ebookmeta.com

Spectacular Sports World s Toughest Races Understanding


Fractions Saskia Lacey

https://ebookmeta.com/product/spectacular-sports-world-s-toughest-
races-understanding-fractions-saskia-lacey/

ebookmeta.com

The Grey Eagles of Chippewa Falls 1st Edition John E


Kinville

https://ebookmeta.com/product/the-grey-eagles-of-chippewa-falls-1st-
edition-john-e-kinville/

ebookmeta.com
The Protocol of the Gods A Study of the Kasuga Cult in
Japanese History Allan G. Grapard

https://ebookmeta.com/product/the-protocol-of-the-gods-a-study-of-the-
kasuga-cult-in-japanese-history-allan-g-grapard/

ebookmeta.com
CHAPTER 1

Introduction

to Blockchain

The entirety of this chapter is comprised of an excerpt from


Introducing Blockchain with Lisp: Implement and Extend Blockchains
with the Racket Language by Boro Sitnikovski, and it is reused here
with the author’s permission.

“Chained” by Filip Rizov

© Spiro Buzharovski 2022


1

S. Buzharovski, Introducing Blockchain with Java,

https://doi.org/10.1007/978-1-4842-7927-4_1

Chapter 1 IntroduCtIon to BloCkChaIn

In this chapter, we will see some definitions and examples for


blockchain. We will see what properties a blockchain has, what it
allows us to do, and what it is good for.

Definition 1-1 Blockchain is a system in which a record of


transactions is maintained across several computers that are linked in
a peer-to-peer network.1

We will give an example that will serve as motivation, as well as


define what encryption and hashing techniques are and how they will
help us with our system.

Note that we will skip some of the technical bits in this chapter, as it
is only supposed to serve as introductory material. The technical bits
will be covered later when we start building the blockchain.

1.1 Motivation and Basic Definitions

Let’s assume that you and your friends exchange money often, for
example, paying for dinner or drinks. It can be inconvenient to
exchange cash all the time.

One possible solution is to keep records of all the bills that you and
your friends have. This is called a ledger and is depicted in Figure 1-
1.
1 We will use this definition throughout the book, but note that there
are many different definitions on the Internet. By the end of this
book, you should be able to distinguish the slight nuances and
similarities in each definition.

Chapter 1 IntroduCtIon to BloCkChaIn

Figure 1-1. A ledger and a set of connected friends (peers)


Definition 1-2 a

ledger is a book that contains a record of

transactions.

Further, at the end of every day, you all sit together and refer to the
ledger to do the calculations to settle up. Let’s imagine that there is a
pot that is the place where all of the money is kept. If you spent
more than you received, you put that money in the pot; otherwise,
you take that money out.

We want to design the system such that it functions similarly to a


regular bank account. A holder of a wallet (bank account) should be
able to only send money from their wallet to other wallets. Thus,
every person in the system will have a wallet of a kind, which can
also be used to determine the balance for them. Note that with the
current setup using a ledger, we have to go through all the existing
records to determine the balance of a specific wallet.

If we want to avoid going through all the existing records, there is a


way we can optimize this with unspent transaction outputs (UTXOs),
as we will see later in Chapter 3.

Chapter 1 IntroduCtIon to BloCkChaIn

A problem that may arise is the double-spending problem, where Bob


can try to send all of his money to Alice and you at the same time,
thus effectively doubling the money he sends in relation to what he
owned.

There are several ways this can be resolved, and the solution that we
will provide will be a simple check of the sum of the inputs and the
sum of the outputs.

A problem that might appear with this kind of system is that anyone
can add a transaction. For example, Bob can add a transaction where
Alice pays him a few dollars without Alice’s approval. We need to re-
think our system such that each transaction will have a way to be
verified/signed.

Definition 1-3 a

digital signature is a way to verify the

authenticity of digital messages or documents.

For signing and verifying transactions we will rely on digital


signatures (Figure 1-2). For now, let’s assume that anyone who adds
information to the ledger also adds a signature with each record, and
others have no way to modify the signature, but only to verify it. We
will cover the technical details in the “Encryption” section.

Figure 1-2. Our ledger now contains signatures 4

Chapter 1 IntroduCtIon to BloCkChaIn

However, let’s assume that Bob is keeping the ledger to himself, and
everybody agrees to this. The ledger is now stored in what is a
centralized place. But in this case, if Bob is unavailable at the end of
the day when everybody gathers to settle up, nobody will be able to
refer to the ledger.

We need a way to decentralize the ledger, such that at any given time
any of the people can do a transaction. For this, every person
involved will keep a copy of the ledger to themselves, and when they
meet at the end of the day, they will sync their ledgers.

You are connected to your friends, and so are they to you. Informally,
this makes a peer-to-peer network.

Definition 1-4 a
peer-to-peer network is formed when two or

more computers are connected to each other.

For example, when you are accessing a web page on the Internet
using a browser, your browser is the client, and the web page you’re
accessing is hosted by a server. This represents a centralized system
since every user is getting the information from a single place—the
server.

In contrast, in a peer-to-peer network, which represents a


decentralized system, the distinction between a client and a server is
blurred. Every peer is both a client and a server at the same time.

With the system (Figure 1-3), as the list of peers (people) grows, we
might run into a problem of trust. When everybody meets at the end
of the day to sync their ledgers, how can they believe the others that
the transactions listed in their ledgers are true? Even if everybody
trusts everybody else for their ledger, what if a new person wants to
join this network? It’s natural for existing users to ask this newcomer
to prove that they can be trusted. We need to modify our system to
support this kind of trust. One way to achieve that is through so-
called proof of work, which we introduce next.

5
Chapter 1 IntroduCtIon to BloCkChaIn

Figure 1-3. A decentralized ledger

Definition 1-5 a

proof of work is data that is time-consuming to calculate and easy for


others to verify.

For each record we will also include a special number (or a hash) that
will represent proof of work, in that it will provide proof that the
transaction is valid. We will cover the technical details in the
“Hashing”

section.
At the end of the day, we agree that we will trust the ledger of the
person who has put most of the work in it. If Bob has some errands
to run, he can catch up the next day by trusting the rest of the peers
in the network.

In addition to all this, we want the transactions to have an order, so


every record will also contain a link to the previous record. This
represents the actual blockchain, depicted in Figure 1-4.

Chapter 1 IntroduCtIon to BloCkChaIn

Figure 1-4. A chain of blocks: blockchain

If everybody agreed to use this ledger as a source of truth, there


would be no need to exchange physical money at all. Everybody can
just use the ledger to put in or retrieve money from it.

To understand the technical bits of digital signatures and proof of


work, we will be looking at encryption and hashing, respectively.

Fortunately for us, the programming language that we will be using


has built-in functionalities for encryption and hashing. We don’t have
to dig too deep into how hashing and encryption and decryption
work, but a basic understanding of them will be sufficient.

Observe how we started with a simple definition of a ledger and


gradually built up to a complex system. We will use the same
approach in programming.

1.2 Encryption

We will start with the following definition.

Definition 1-6 Encryption is a method of encoding values such that


only authorized people can view the original content. decryption is a
method of decoding encrypted values.

Chapter 1 IntroduCtIon to BloCkChaIn

Note that in this section we will mostly talk about numbers, but
characters and letters can also be encrypted/decrypted with the same
methods, by using the ASCII2 values for the characters.

Before we talk about encryption, we first have to recall what


functions are, since the encoding/decoding values are achieved with
the usage of them.

1.2.1 Functions

Figure 1-5. A function

Definition 1-7 Functions are mathematical entities that assign


unique outputs to given inputs.

For example, you might have a function that accepts as input a


person and as output returns the person’s age or name. Another
example is the function f ( x) = x + 1. There are many inputs this
function can accept: 1, 2, 3.14. For example, when we input 2, it
gives us an output of 3, since f (2) = 2 + 1 = 3.

2 An ASCII table is a table that assigns a unique number to each


character (such as !, @, a, Z, etc.).

Chapter 1 IntroduCtIon to BloCkChaIn One simple way to think of


functions is in the form of tables. For a function f ( x) accepting a
single argument x, we have a two-column table where the first
column is the input, and the second column is the output.

For a function f ( x, y) accepting two arguments x and y, we have a


three-column table where the first and second columns represent the
input, and the third column is the output. Thus, to display the
function discussed earlier in the form of a table, it would look like
this: x f

( x)

12

23

……
1.2.2 Symmetric-Key Algorithm

We can assume that there exist functions E( x) and D( x) for


encryption and decryption, respectively. We want these functions to
have the following properties:

• E(x) ≠ x, meaning that the encrypted value should

not be the same as the original value

• E(x) ≠ D(x), meaning that the encryption and

decryption functions produce different values

• D(E(x)) = x, meaning that the decryption of an

encrypted value should return the original value

For example, let’s assume there’s some kind of an encryption


scheme, say E("Boro") = 426f726f. We can “safely” communicate the
value 426f726f without actually exposing our original value, and only
those who know the decryption scheme D(x) will be able to see that
D(426f726f) = "Boro".

9
Chapter 1 IntroduCtIon to BloCkChaIn

Another example of encryption scheme is for E(x) to shift every


character in x forward, and for D(x) to shift every character in x
backward.

This scheme is known as the Caesar cipher. To encrypt the text “abc”
we have E("abc") = "bcd", and to decrypt it we have D("bcd") =
"abc".

However, the scheme described makes a symmetric algorithm (Figure


1-6), meaning that we have to share the functions E and D with the
parties involved, and as such, they may be open to attacks.

Figure 1-6. Symmetric-key algorithm

1.2.3 Asymmetric-Key Algorithm

To solve the problems that arise with symmetric-key algorithms, we


will use what is called an asymmetric algorithm or public-key
cryptography (Figure 1-7). In this scheme, we have two kinds of
keys: public and private.

We share the public key with the world and keep the private one to
ourselves.

Figure 1-7. Asymmetric-key algorithm

This algorithm scheme has a neat property where only the private
key can decode a message, and the public key can encode a
message.

10

Chapter 1 IntroduCtIon to BloCkChaIn We have two functions that


should have the same properties as those for the symmetric-key
algorithm.

• E(x, p), which encrypts a message x given a

public key p

• D(x′ , s), which decrypts an encrypted message

x′ given a private (secret) key s

In our example, we will rely on the modulo operation. Recall that a


mod b represents the remainder when a is divided by b. For example,
4 mod 2 = 0 because there is no remainder when dividing 4 by 2;
however, 5 mod 2 = 1.

Here’s one example of a basic encryption algorithm based on addition


and modulo operations:

1. Pick one random number, for example 100. This will represent a
common, publicly available key.

2. Pick another random number in the range (1 , 100), for example


97. This will represent the private key s .

3. The public key p is obtained by subtracting the

common key from the private: 100 − 97 = 3.

4. To encrypt data, add it to the public key and take modulo 100: E(x,
p) = (x + p) mod 100.
Other documents randomly have
different content
Como pálpebras rôxas que tombassem
Sobre uns olhos cançados, carinhosas,
A noite desce... Ah! dôces mãos piedosas
Que os meus olhos tristissimos fechassem!

Assim mãos de bondade me embalassem!


Assim me adormecessem, caridosas,
E em braçadas de lirios e mimosas,
No crepúsculo que desce me enterrassem!

A noite em sombra e fumo se desfaz...


Perfume de baunilha ou de lilaz,
A noite põe-me embriagada, louca!

E a noite vai descendo, muda e calma...


Meu dôce Amôr, tu beijas a minh'alma
Beijando nesta hora a minha bôca!

CARAVELAS
Cheguei a meio da vida já cançada
De tanto caminhar! Já me perdi!
Dum estranho paiz que nunca vi
Sou neste mundo imenso a exilada.

Tanto tenho aprendido e não sei nada.


E as torres de marfim que construí
Em trágica loucura as destruí
Por minhas próprias mãos de malfadada!

Se eu sempre fui assim este Mar Morto:


Mar sem marés, sem vagas e sem porto
Onde vélas de sonhos se rasgaram!

Caravelas doiradas a bailar...


Ai, quem me déra as que eu deitei ao Mar!
As que eu lancei á vida, e não voltaram!...

INCONSTANCIA
Procurei o amor, que me mentiu.
Pedi á Vida mais do que ela dava;
Eterna sonhadora edificava
Meu castelo de luz que me caiu!

Tanto clarão nas trevas refulgiu,


E tanto beijo a bôca me queimava!
E era o sol que os longes deslumbrava
Igual a tanto sol que me fugiu!

Passei a vida a amar e a esquecer...


Atraz do sol dum dia outro a aquecer
As brumas dos atalhos por onde ando...

E este amor que assim me vai fugindo


É igual a outro amor que vai surgindo,
Que ha de partir tambem... nem eu sei
quando...

O NOSSO MUNDO
Eu bebo a Vida, a Vida, a longos tragos
Como um divino vinho de Falerno!
Poisando em ti o meu olhar eterno
Como poisam as folhas sobre os lagos...

Os meus sonhos agora são mais vagos...


O teu olhar em mim, hoje, é mais terno...
E a Vida já não é o rubro inferno
Todo fantasmas tristes e presagos!

A Vida, meu Amôr, quero vivê-la!


Na mesma taça erguida em tuas mãos,
Bôcas unidas hêmos de bebê-la!

Que importa o mundo e as ilusões


defuntas?...
Que importa o mundo e seus orgulhos
vãos?...
O mundo, Amôr!... As nossas bôcas
juntas!...

PRINCE CHARMANT...

A Raul Proença
No languido esmaecer das amorosas
Tardes que morrem voluptuosamente
Procurei-O no meio de toda a gente.
Procurei-O em horas silenciosas!

Ó noites da minh'alma tenebrosas!


Bôca sangrando beijos, flôr que sente...
Olhos postos num sonho, humildemente...
Mãos cheias de violetas e de rosas...

E nunca O encontrei!... Prince Charmant...


Como audaz cavaleiro em velhas lendas
Virá, talvez, nas névoas da manhã!

Em toda a nossa vida anda a quimera


Tecendo em frageis dedos frageis rendas...
—Nunca se encontra Aquele que se
espéra!...

ANOITECER
A luz desmaia num fulgor d'aurora,
Diz-nos adeus religiosamente...
E eu que não creio em nada, sou mais
crente
Do que em menina, um dia, o fui...
outr'ora...

Não sei o que em mim ri, o que em mim


chora,
Tenho bênçãos d'amor p'ra toda a gente!
E a minha alma sombria e penitente
Soluça no infinito desta hora...

Horas tristes que são o meu rosário...


Ó minha cruz de tão pesado lenho!
Ó meu áspero e intérmino Calvario!

E a esta hora tudo em mim revive:


Saudades de saudades que não tenho...
Sonhos que são os sonhos dos que eu
tive...

ESFINGE
Sou filha da charneca erma e selvagem:
Os giestais, por entre os rosmaninhos,
Abrindo os olhos d'oiro, p'los caminhos,
Desta minh'alma ardente são a imagem.

E anciosa desejo—ó vã miragem—


Que tu e eu, em beijos e carinhos,
Eu a Charneca, e tu o Sol, sòsinhos,
Fossemos um pedaço da paisagem!

E á noite, á hora dôce da ansiedade,


Ouviria da boca do luar
O De Profundis triste da saudade...

E, á tua espera, enquanto o mundo dorme,


Ficaria, olhos quietos, a scismar...
Esfinge olhando, na planicie enorme...

TARDE DEMAIS...
Quando chegáste emfim, para te vêr
Abriu-se a noite em mágico luar;
E p'ra o som de teus passos conhecer
Pôz-se o silencio, em volta, a escutar...

Chegáste, emfim! Milagre de endoidar!


Viu-se nessa hora o que não pode ser:
Em plena noite, a noite iluminar
E as pedras do caminho florescer!

Beijando a areia d'oiro dos desertos


Procurára-te em vão! Braços abertos,
Pés nús, olhos a rir, a bôca em flôr!

E ha cem anos que eu era nova e linda!...


E a minha bôca morta grita ainda:
Porque chegáste tarde, ó meu Amôr?!...

CINZENTO
Poeiras de crepúsculos cinzentos.
Lindas rendas velhinhas, em pedaços,
Prendem-se aos meus cabelos, aos
meus braços,
Como brancos fantasmas, sonolentos...

Monges soturnos deslisando lentos,


Devagarinho, em misteriosos passos...
Perde-se a luz em languidos cansaços...
Ergue-se a minha cruz dos desalentos!

Poeiras de crepúsculos tristonhos,


Lembram-me o fumo leve dos meus
sonhos,
A névoa das saudades que deixáste!

Hora em que o teu olhar me


deslumbrou...
Hora em que a tua boca me beijou...
Hora em que fumo e névoa te tornáste...

NOTURNO
Amor! Anda o luar, todo bondade,
Beijando a terra, a desfazer-se em luz...
Amor! São os pés brancos de Jesus
Que andam pisando as ruas da cidade!

E eu ponho-me a pensar... Quanta


saudade
Das ilusões e risos que em ti puz!
Traçáste em mim os braços duma cruz,
Nêles pregaste a minha mocidade!

Minh'alma, que eu te dei, cheia de máguas,


É nesta noite o nenufar dum lago
Estendendo as azas brancas sobre as
águas!

Poisa as mãos nos meus olhos, com


carinho,
Fecha-os num beijo dolorido e vago...
E deixa-me chorar devagarinho...

MARIA DAS QUIMÉRAS


Maria das Quiméras me chamou
Alguem... Pelos castelos que eu ergui,
P'las flores d'oiro e azul que a sol teci
Numa téla de sonho que estalou.

Maria das Quiméras me ficou;


Com elas na minh'alma adormeci.
Mas, quando despertei, nem uma vi,
Que da minh'alma, Alguem, tudo levou!

Maria das Quiméras, que fim déste


Ás flores d'oiro e azul que a sol bordáste,
Aos sonhos tresloucados que fizéste?

Pelo mundo, na vida, o que é que


esperas?...
Aonde estão os beijos que sonháste,
Maria das Quiméras, sem quiméras?

SAUDADES
Saudades! Sim... talvez... e porque não?...
Se o nosso sonho foi tão alto e forte
Que bem pensára vê-lo até á morte
Deslumbrar-me de luz o coração!

Esquecer! Para quê?... Ah, como é vão!


Que tudo isso, Amôr, nos não importe.
Se ele deixou beleza que conforte
Deve-nos ser sagrado como o pão!

Quantas vezes, Amor, já te esqueci,


Para mais doidamente me lembrar,
Mais doidamente me lembrar de ti!

E quem déra que fosse sempre assim:


Quanto menos quizesse recordar
Mais a saudade andasse presa a mim!

RUINAS
Se é sempre outono o rir das primavéras,
Castelos, um a um, deixa-os cair...
Que a vida é um constante derruir
De palácios do Reino das Quiméras!

E deixa sobre as ruinas crescer heras,


Deixa-as beijar as pedras e florir!
Que a vida é um continuo destruir
De palácios do Reino das Quiméras!

Deixa tombar meus rútilos castelos!


Tenho ainda mais sonhos para ergue-los
Mais alto do que as águias pelo ar!

Sonhos que tombam! Derrocada louca!


São como os beijos duma linda bôca!
Sonhos!... Deixa-os tombar... deixa-os
tombar...

CREPÚSCULO
Teus olhos, borboletas de oiro, ardentes
Borboletas de sol, de azas maguadas,
Poisam nos meus, suaves e cançadas,
Como em dois lirios rôxos e dolentes...

E os lirios fecham... Meu amôr não sentes?


Minha bôca tem rosas desmaiadas,
E as minhas pobres mãos são maceradas
Como vagas saudades de doentes...

O Silencio abre as mãos... entorna rosas...


Andam no ar caricias vaporosas
Como pálidas sedas, arrastando...

E a tua boca rubra ao pé da minha


É na suavidade da tardinha
Um coração ardente, palpitando...

ODIO?

Á Aurora Aboim
Odio por ele? Não... Se o amei tanto,
Se tanto bem lhe quiz no meu passado,
Se o encontrei depois de o ter sonhado,
Se á vida assim roubei todo o encanto...

Que importa se mentiu? E se hoje o pranto


Turva o meu triste olhar, marmorisado,
Olhar de monja, trágico, gelado
Como um soturno e enorme Campo Santo!

Ah! nunca mais amá-lo é já bastante!


Quero senti-lo d'outra, bem distante,
Como se fôra meu, calma e serena!

Odio seria em mim saudade infinda,


Mágua de o ter perdido, amôr ainda.
Odio por ele? Não... não vale a pêna...

RENUNCIA
A minha mocidade outrora eu puz
No tranquilo convento da Tristeza;
Lá passa dias, noites, sempre presa,
Olhos fechados, magras mãos em cruz...

Lá fóra, a Lua, Satanaz, seduz!


Desdobra-se em requintes de Beleza...
É como um beijo ardente a Natureza...
A minha céla é como um rio de luz...

Fecha os teus olhos bem! Não vejas nada!


Empalidece mais! E, resignada,
Prende os teus braços a uma cruz maior!

Géla ainda a mortalha que te encerra!


Enche a boca de cinzas e de terra,
Ó minha mocidade toda em flôr!

A VIDA
É vão o amôr, o odio, ou o desdem;
Inutil o desejo e o sentimento...
Lançar um grande amôr aos pés d'alguem
O mesmo é que lançar flôres ao vento!

Todos somos no mundo «Pedro Sem»,


Uma alegria é feita dum tormento,
Um riso é sempre o eco dum lamento,
Sabe-se lá um beijo d'onde vem!

A mais nobre ilusão morre... desfaz-se...


Uma saudade morta em nós renasce
Que no mesmo momento é já perdida...

Amar-te a vida inteira eu não podia.


A gente esquece sempre o bem dum dia.
Que queres, meu Amôr, se é isto a Vida!...

HORAS RUBRAS
Horas profundas, lentas e caladas
Feitas de beijos sensuais e ardentes,
De noites de volupia, noites quentes
Onde ha risos de virgens desmaiadas...

Oiço as olaias rindo desgrenhadas...


Tombam astros em fogo, astros dementes,
E do luar os beijos languescentes
São pedaços de prata p'las estradas...

Os meus lábios são brancos como lagos...


Os meus braços são leves como afagos,
Vestiu-os o luar de sedas puras...

Sou chama e neve branca e misteriosa...


E sou, talvez, na noite voluptuosa,
Ó meu Poeta, o beijo que procuras!

SUAVIDADE
Poisa a tua cabeça dolorida
Tão cheia de quiméras, de ideal,
Sobre o regaço brando e maternal
Da tua doce Irmã compadecida.

Has de contar-me nessa voz tão qu'rida


A tua dôr que julgas sem igual,
E eu, p'ra te consolar, direi o mal
Que á minha alma profunda fez a Vida.

E has de adormecer nos meus joelhos...


E os meus dedos enrugados, velhos,
Hão de fazer-se leves e suaves...

Hão de poisar-se num fervôr de crente,


Rosas brancas tombando dôcemente.
Sobre o teu rosto, como penas d'aves...

PRINCEZA DESALENTO
Minh'alma é a Princesa Desalento,
Como um Poeta lhe chamou, um dia.
É maguada e pálida e sombria,
Como soluços trágicos do vento!

É fragil como o sonho dum momento;


Soturna como préces de agonia,
Vive do riso d'uma bôca fria:
Minh'alma é a Princeza Desalento...

Altas horas da noite ela vagueia...


E ao luar suavissimo, que anceia,
Põe-se a falar de tanta coisa morta!

O luar ouve a minh'alma, ajoelhado,


E vai traçar, fantástico e gelado,
A sombra d'uma cruz á tua porta...

SOMBRA

You might also like