From 872675c38ca54e0edc2908de8436ab9820d45180 Mon Sep 17 00:00:00 2001 From: TheRON Date: Mon, 8 Jun 2026 03:33:21 -0400 Subject: [PATCH] Initial push --- hubzilla/addon/g1wallet/config.json.template | 6 ++++++ hubzilla/addon/g1wallet/g1wallet.apd | 7 +++++++ hubzilla/addon/g1wallet/mod_g1wallet.pdl | 15 +++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 hubzilla/addon/g1wallet/config.json.template create mode 100644 hubzilla/addon/g1wallet/g1wallet.apd create mode 100644 hubzilla/addon/g1wallet/mod_g1wallet.pdl diff --git a/hubzilla/addon/g1wallet/config.json.template b/hubzilla/addon/g1wallet/config.json.template new file mode 100644 index 0000000..0c13df7 --- /dev/null +++ b/hubzilla/addon/g1wallet/config.json.template @@ -0,0 +1,6 @@ +{ + "_note": "Copy to config.json. Do not commit config.json.", + "orchestrator_url": "REPLACE — orchestrator base URL, e.g. http://10.0.0.105:8700", + "node_token": "REPLACE — shared secret for node-to-orchestrator auth", + "g1_rpc_endpoint": "REPLACE — Duniter node RPC over Wireguard, e.g. http://10.0.0.105:9944" +} diff --git a/hubzilla/addon/g1wallet/g1wallet.apd b/hubzilla/addon/g1wallet/g1wallet.apd new file mode 100644 index 0000000..4011987 --- /dev/null +++ b/hubzilla/addon/g1wallet/g1wallet.apd @@ -0,0 +1,7 @@ +version: 2 +url: $baseurl/g1wallet +requires: local_channel +name: Ğ1 Wallet +photo: icon:wallet2 +categories: Civic Diagnostics +desc: Self-sovereign Ğ1 wallet for SASE-verified participants. Key derivation and signing happen in the browser. The platform never touches your keys. diff --git a/hubzilla/addon/g1wallet/mod_g1wallet.pdl b/hubzilla/addon/g1wallet/mod_g1wallet.pdl new file mode 100644 index 0000000..1ac8b2c --- /dev/null +++ b/hubzilla/addon/g1wallet/mod_g1wallet.pdl @@ -0,0 +1,15 @@ +[template]default[/template] + +[region=aside] +[widget=g1wallet][/widget] +[/region] + +[region=content] +$content +[/region] + +[region=right_aside] +[widget=civicnav][/widget] +[widget=notifications][/widget] +[widget=newmember][/widget] +[/region]