diff --git a/readme.md b/readme.md index 0b1cb7f..2a2d507 100644 --- a/readme.md +++ b/readme.md @@ -8,32 +8,35 @@ ## An SSB user sent you Ğ1? Here is how to claim it: -First, you need to get your Duniter secret key from your SSB secret key. +First, you need to generate your base58 Duniter secret key from your base64 SSB secret key. ``` chmod +x secret2dunikey.sh ./secret2dunikey.sh ``` -Then, all you need to do is connect to a Duniter client, like [Cesium](https://cesium.app/), using the generated ~/.ssb/secret.dunikey +Then, all you need to do is connect to a Duniter client, using the generated ~/.ssb/secret.dunikey + +1. Download [Cesium](https://cesium.app/) +2. On Cesium homescreen, click "**Other methods**" and choose "**Keychain file**" : +3. Then, browse your filesystem to select your Duniter secret key stored in ~/.ssb/secret.dunikey : ![Cesium authentification](https://git.p2p.legal/axiom-team/ssb-g1-tip/raw/master/doc/create-account.gif) -1. On Cesium homescreen, click "**Other methods**" and choose "**Keychain file**" : -2. Then, browse your filesystem to select your Duniter secret key stored in ~/.ssb/secret.dunikey : - ## You too want to send tips? -An other way to spend your Ğ1 is use it with this micro-donation system. +A cool way to spend your Ğ1 is use it with this micro-donation system. ### Install -First, you have to install the necessary tools, like Silkaj, the Duniter client: +First, you have to install the necessary tools using the `install.sh` script. + ``` chmod +x install.sh tip.sh ./install.sh ``` -(you only have to do this once) + +This script installs tools like Silkaj, the command line Duniter client. Don't worry, you will only have to do this once 😉 ### Usage @@ -45,7 +48,7 @@ Then, once every other week, you can use the `tip.sh` script : `tip.sh` will have a look at the posts you liked and will send from your Duniter account the corresponding amount (based on the number of times you liked a post) to the appropriate recipients. -It will also generate one or two markdown formatted files to help you thank publicly your fellow butts, and make them aware you sent them a tip 😉 +It will also generate one or more markdown formatted files to help you thank publicly your fellow butts, and make them aware you sent them a tip 😉 ![](https://git.p2p.legal/axiom-team/ssb-g1-tip/raw/master/doc/tip.gif) @@ -68,7 +71,7 @@ The economy is still in its infancy, but you can already: It is a way to design a currency so that every human, whatever the generation they are part of, produces the same relative amount of money. -Unlinke the majority of currencies, where money creation is centralized (money is created by big private banks via credit), in a libre currency, money takes place everywhere. +Unlinke the majority of currencies, where money creation is centralized (money is created by big private banks via credit), in a libre currency, money creation takes place everywhere. ![](https://git.p2p.legal/axiom-team/ssb-g1-tip/raw/master/doc/value-fields.png) @@ -78,7 +81,9 @@ The Relative Theory of Money was written in 2010 by French mathematician Stephan Ğ1 the first libre currency we know of. -It runs on [the Duniter blockchain engine](https://duniter.org/). +Ğ1 has the particularity to use blockchain to secure transactions, and uses on a web of trust to identify unique users, in order to make sure each individual can produce only one **Universal Dividend** each day, and nobody is cheating by producing a disproportionate amount of money. + +Ğ1 runs on [the Duniter blockchain engine](https://duniter.org/). The main clients for Duniter are [Cesium](https://cesium.app/) and [Silkaj](https://mystifying-nobel-66ae54.netlify.com/) diff --git a/tip.sh b/tip.sh index 304bfc0..cb6eb13 100755 --- a/tip.sh +++ b/tip.sh @@ -148,7 +148,7 @@ then last_ts=$(cat "$state_file") || exit 1 else # timestamp from 24h ago - last_ts=$((current_ts - 24*3600*1000)) + last_ts=$((current_ts - 24*3600*1000 - 1)) #else last_ts=null fi