je ne sais pas fusionner... @poka...
|8 months ago|
|doc||10 months ago|
|oasis||9 months ago|
|samples||10 months ago|
|secret2dunikey||9 months ago|
|tip||9 months ago|
|Dockerfile||9 months ago|
|docker-compose.yml||9 months ago|
|find_ssb_user_G1_pubkey.sh||10 months ago|
|install.sh||9 months ago|
|key_create_dunikey.py||10 months ago|
|readme.md||9 months ago|
|secret2dunikey.sh||10 months ago|
|tip.sh||8 months ago|
SSB/Ğ1 tip is a micro donation system, just like Flattr, except:
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, using the generated ~/.ssb/secret.dunikey
A cool way to spend your Ğ1 is use it with this micro-donation system.
First, you have to install the necessary tools using the
chmod +x install.sh tip.sh ./install.sh
This script installs tools like Silkaj, the command line Duniter client. Don't worry, you will only have to do this once 😉
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 more markdown formatted files to help you thank publicly your fellow butts, and make them aware you sent them a tip 😉
The Ğ1 currency originated in called France, so the main part of the fun happens there.
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 creation takes place everywhere.
The Relative Theory of Money was written in 2010 by French mathematician Stephane Laborde, and the first libre currency (Ğ1) was born in 2017. Up to this day, Ğ1 is the only libre currency we know of.
Ğ1 the first libre currency we know of.
Ğ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.
SSB_PATH : this is important variable to locate your ssb db path and secret file don't forget to set that.
First you need to build docker image.
SSB_PATH=~/.ssb/ docker-compose build
create your dunikey
SSB_PATH=~/your-copy-ssb/ docker-compose up -d tip # only you need to run tiping part SSB_PATH=~/your-copy-ssb/ docker-compose up -d # if you need to run all platform
run main tip script
container_id=$(docker ps -a -q --filter="ancestor=ssb-g1like_tip") && docker exec -ti $container_id bash -c "/home/astroport/tip"
For display thank you file
container_id=$(docker ps -a -q --filter="ancestor=ssb-g1like_tip") && docker cp $container_id:/home/astroport/thank-your-butts-$(date -u +%Y-week-%W).md ~ && docker exec -ti $container_id bash -c "rm -rf /home/astroport/thank-your-butts-$(date -u +%Y-week-%W).md"