From 7c8255a64b473567c869aeac293d7b5c2259a3fb Mon Sep 17 00:00:00 2001 From: "Esteban A. Maringolo" Date: Sun, 4 Mar 2018 16:07:59 -0300 Subject: [PATCH] Adds Smalltalk syntax highlighting to README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8807eb0..5b0c77f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Simple implementation of Bitcoin's BIP39 mnemonic and seed generator using the [ ## Installation Run: -``` +```Smalltalk Metacello new baseline: 'BIP39Mnemonic'; repository: 'github://eMaringolo/pharo-bip39mnemonic/src'; @@ -17,7 +17,7 @@ Metacello new ### Creating a new one -``` +```Smalltalk | m | "Creating a mnemonic from Pharo's weak PRNG" m := BIP39Mnemonic generate. @@ -31,10 +31,10 @@ m seedForPassphrase: 'Pharo'. "'154ad96ab7ad44d2c47beb3801e278b37b82fe9fc3...'" ``` ### Instantiating from existing words -``` +```Smalltalk BIP39Mnemonic fromWords: 'legal winner thank year wave sausage worth useful legal winner thank yellow'. -BIP39Mnemonic fromWords: "#('legal' 'winner' 'thank' 'year' 'wave' 'sausage' +BIP39Mnemonic fromWords: #('legal' 'winner' 'thank' 'year' 'wave' 'sausage' 'worth' 'useful' 'legal' 'winner' 'thank' 'yellow') ```