diff --git a/frontend/static/federation.json b/frontend/static/federation.json index ee511efb..0816d430 100644 --- a/frontend/static/federation.json +++ b/frontend/static/federation.json @@ -128,6 +128,49 @@ "mainnetNodesPubkeys": ["029c5b14214ca7c1f5334db539dbab266088ba43a40563551efb9458756a94cd94"], "testnetNodesPubkeys": ["03607900c00c5fcc3f9d32da4ad687c73d95df4faa065e5320e77b41c5d76ef381"] }, + "lake": { + "longAlias": "TheBigLake", + "shortAlias": "lake", + "description": "Becoming a RoboSats coordinator represents boosting intrinsic values of decentralization and economic freedom. RoboSats solves the problem of KYC and loss of privacy that big Exchanges are forced to comply with. I believe that decentralizing the lightning nodes will enhance the robustness of the tool, allowing more users to join. I am excited to be part of this new phase of growth.", + "motto": "TheBigLake: The Lake of Economic Freedom.", + "color": "#000D28", + "contact": { + "email": "gabbygator184@proton.me", + "telegram": "@gabbygator184", + "simplex": "https://simplex.chat/contact#/?v=1-4&smp=smp%3A%2F%2FZKe4uxF4Z_aLJJOEsC-Y6hSkXgQS5-oc442JQGkyP8M%3D%40smp17.simplex.im%2FLsFHfMGI9rm3kUDz1jwXZf3uAYPUuhli%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEAJ8hrCl81w79Wx2qfae6cGR9rZpeHVoevAObBqNgzqGU%253D%26srv%3Dogtwfxyi3h2h5weftjjpjmxclhb5ugufa5rcyrmg7j4xlch7qsr5nuqd.onion", + "matrix": "@gabbygator184:matrix.org", + "pgp": "/static/federation/pgp/EC4F94F629AA28242B54265F1ABE1CA3582A031A.asc", + "nostr": "npub17t2g2h0nnf7mvxtxvm5ydxs85ycumhqgmj48gj35gdplln655yxq68wj6f", + "fingerprint": "EC4F94F629AA28242B54265F1ABE1CA3582A031A" + }, + "badges": { + "isFounder": true, + "donatesToDevFund": 30, + "hasGoodOpSec": true, + "robotsLove": false, + "hasLargeLimits": false + }, + "policies": { + "Privacy Policy 1": "Evidence in Disputes: In the event of a dispute, users will be asked to provide transaction-related evidence. This could include transaction IDs, screenshots of payment confirmations, or other pertinent transaction records. Personal information or unrelated transaction details should be redacted to maintain privacy.", + "Privacy Policy 2": "Short-term Storage: Sensitive information related to disputes will be stored only for the duration necessary to resolve the issue. Once resolved, the data will be permanently deleted. For ease of use e-mail communications are permitted, but E2EE and decentralized platforms such as NOSTR, SIMPLEX and MATRIX are advised.", + "Data Policy 1": "No Third-Party Sharing: Under no circumstances will user information be shared with third parties.", + "Data Policy 2": "Short-term Storage: Any log needed to operate the coordinator will be cleared after 7 days, unless strictly needed to process disputes. To ensure utmost privacy, the coordinator will be accessible only through TOR.", + "Rule 1:": "Do not share personal information through the chat, unless strictly needed for completing the trade.", + "Rule 2:": "Any dispute can be fist address through our public chats in the different social networks but never will be started using private chats." + }, + "mainnet": { + "onion": "http://4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion", + "clearnet": "", + "i2p": "" + }, + "testnet": { + "onion": "http:///ghbtv7lhoyhomyir4xvxaeyqgx4ylxksia343jaat3njqqlkqpdjqcyd.onion", + "clearnet": "", + "i2p": "" + }, + "mainnetNodesPubkeys": ["0385262f7e9e2eeeba1e7d6182a0efec98e79d01154b76189f3e0b88bcee279dd0"], + "testnetNodesPubkeys": ["0355f8604df9ec4bee20a284f045f94e26cdd1fc5e15dee0716a5a5dfc7cd33b7c"] + }, "local": { "longAlias": "Local Dev", "shortAlias": "local", @@ -135,15 +178,15 @@ "motto": "Buidl", "color": "#000000", "testnet": { - "onion": "http://none.onion", - "clearnet": "http://localhost:12596" + "onion": "", + "clearnet": "http://localhost:8000" }, "badges": { "donatesToDevFund": 0 }, "mainnet": { - "onion": "http://none.onion", - "clearnet": "http://localhost:12596" + "onion": "", + "clearnet": "" }, "policies": { "Development Policy": "Don't look around, just buidl" diff --git a/frontend/static/federation/avatars/lake.small.webp b/frontend/static/federation/avatars/lake.small.webp new file mode 100644 index 00000000..c90d069f Binary files /dev/null and b/frontend/static/federation/avatars/lake.small.webp differ diff --git a/frontend/static/federation/avatars/lake.webp b/frontend/static/federation/avatars/lake.webp new file mode 100644 index 00000000..8936c1cd Binary files /dev/null and b/frontend/static/federation/avatars/lake.webp differ diff --git a/frontend/static/federation/pgp/EC4F94F629AA28242B54265F1ABE1CA3582A031A.asc b/frontend/static/federation/pgp/EC4F94F629AA28242B54265F1ABE1CA3582A031A.asc new file mode 100644 index 00000000..01caf6bd --- /dev/null +++ b/frontend/static/federation/pgp/EC4F94F629AA28242B54265F1ABE1CA3582A031A.asc @@ -0,0 +1,43 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: EC4F 94F6 29AA 2824 2B54 265F 1ABE 1CA3 582A 031A +Comment: gabbygator184 + +xsDNBGWNsvIBDADGDlBHcY7teiHVU8DtYYmFQ8qb9Sfk48jH/EvBwGLDaPpWIbN4 +lkRSxgjrPhnTeXiNk5Z2OYdlOSEkjAjTULBzH46N/AeGY+XYQM/+kV1xBfr7mIcj +Dg2i4782RkF7b67ib/ayNs7MqOVhqYmQRb9L8zBfVWGPRHnHuXRDRv2AAR8mSvWx +shHNo4tE4fJjBN7n1232Rh093fekDFQqg423aMWjVS8EQpWanUPAeDHtK/W8jkw8 +0Zp8ac+UaU65Hi5HVxtUkEkQhKLymrIXAXxlKJmeovu8WUyYdk+eohJz761N9C/i +3TbF0QcZPEm3bTuVeEYgeckxPAtLeavK4cHdzLYmC2yyYefqECqlGHT2dSCw3LoQ +vM5c4nZDNDRNFcvwvfWl7ofJ2hsKbhyQj8HkOtzPujaXAoVfQOZQpQg4vNa95+Af +Fsh5fsFPkmr09Op+yLe/DUM36bfbR3FyY8PByiy5K8jlG4FQ8s+BFzAyUT+0Oici +X+ftasG/l7BjL18AEQEAAc0nZ2FiYnlnYXRvcjE4NCA8Z2FiYnlnYXRvcjE4NEBw +cm90b24ubWU+wsEOBBMBCgA4FiEE7E+U9imqKCQrVCZfGr4co1gqAxoFAmWNsvIC +GwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQGr4co1gqAx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YAQoAIBYhBOxPlPYpqigkK1QmXxq+HKNYKgMaBQJljbLy +AhsMAAoJEBq+HKNYKgMas+YL/26QGjPK442+khyQxinuGTafV7vE/Qjqgc8Xn3kv +5mSi8E3vzZZPjicQWABe4BaiAJmVI9LGpgyA15foNDekC20V4j+6n+NEI6rYt8Ur +ifZRAOw/CsbxvnK7KGrKUixKbYToPUjO+gwLn9ymTat4VQWiaJGn7xD+REzUA72j +TWer33e/zOA2t8V47OwTf0D2mf3yNdGaoXLkWpEMNfeiQ4W4qrtYbGDDZ1aM998j +w88DArkd8zE5RkbBlic3HnTkX2lSGtJMpbFU5GP9kwWzENmfHZhV701NKxyyk6wE +syfCWfhg/bx+569YAof3A3bAX/S1eXE9D+ZwMQNflct1yPhAG+38LylfZxd1pGcV +d5KTz0zvcCqviEFBP0tQsHOTkJyTM2ASCunqzGdhSQg4ExAC5J98pJKdnLHoH6ru +H8nJ+gotYsnH2HXudUlCoMnwO6UHKKZBJts97S1hxX4Whx5H/X2zKBQ+lQzULdAZ +iexNUI0gb/kJUazdBgFbIF1usQ== +=nST/ +-----END PGP PUBLIC KEY BLOCK----- diff --git a/nodeapp/coordinators/lake/locations.conf b/nodeapp/coordinators/lake/locations.conf new file mode 100644 index 00000000..d45ea193 --- /dev/null +++ b/nodeapp/coordinators/lake/locations.conf @@ -0,0 +1,59 @@ +# TheBigLake Mainnet Locations +location /mainnet/lake/static/assets/avatars/ { + proxy_pass http://mainnet_lake/static/assets/avatars/; +} + +location /mainnet/lake/api/ { + # if ($request_method = 'OPTIONS') { + # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; + # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; + # add_header 'Access-Control-Max-Age' 1728000; + # add_header 'Content-Type' 'text/plain; charset=utf-8'; + # add_header 'Content-Length' 0; + # return 204; + # } + # if ($request_method = 'POST') { + # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; + # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; + # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; + # } + # if ($request_method = 'GET') { + # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; + # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; + # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; + # } + proxy_pass http://mainnet_lake/api/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; +} + +location /mainnet/lake/ws/ { + proxy_pass http://mainnet_lake/ws/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; +} + +# TheBigLake Coordinator Testnet Locations +location /test/lake/static/assets/avatars/ { + proxy_pass http://testnet_lake/static/assets/avatars/; +} + +location /testnet/lake/api/ { + proxy_pass http://testnet_lake/api/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; +} + +location /testnet/lake/ws/ { + proxy_pass http://testnet_lake/ws/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; +} \ No newline at end of file diff --git a/nodeapp/coordinators/lake/upstreams.conf b/nodeapp/coordinators/lake/upstreams.conf new file mode 100644 index 00000000..2663b89b --- /dev/null +++ b/nodeapp/coordinators/lake/upstreams.conf @@ -0,0 +1,9 @@ +# TheBigLake Coordinator Mainnet +upstream mainnet_lake { + server localhost:104; +} + +# TheBigLake Coordinator Testnet +upstream testnet_lake { + server localhost:1004; +} \ No newline at end of file diff --git a/nodeapp/nginx.conf b/nodeapp/nginx.conf index d2a0b995..d5e38881 100644 --- a/nodeapp/nginx.conf +++ b/nodeapp/nginx.conf @@ -34,6 +34,8 @@ http { include /etc/nginx/conf.d/temple/upstreams.conf; # Satstralia include /etc/nginx/conf.d/satstralia/upstreams.conf; + #TheBigLake + include /etc/nginx/conf.d/lake/upstreams.conf; server { @@ -72,6 +74,8 @@ http { include /etc/nginx/conf.d/temple/locations.conf; # Satstralia include /etc/nginx/conf.d/satstralia/locations.conf; + # TheBigLake + include /etc/nginx/conf.d/lake/locations.conf; # do not log healtchecks made against "/selfhosted" location /selfhosted { diff --git a/nodeapp/robosats-client.sh b/nodeapp/robosats-client.sh index c82a574e..20f1ce69 100644 --- a/nodeapp/robosats-client.sh +++ b/nodeapp/robosats-client.sh @@ -32,7 +32,6 @@ testnet_temple_port=1002 mainnet_temple_socat="socat tcp4-LISTEN:${mainnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" testnet_temple_socat="socat tcp4-LISTEN:${testnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" - ################################ # Satstralia # Mainnet @@ -45,6 +44,18 @@ testnet_satstralia_port=1003 mainnet_satstralia_socat="socat tcp4-LISTEN:${mainnet_satstralia_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_satstralia_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" testnet_satstralia_socat="socat tcp4-LISTEN:${testnet_satstralia_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_satstralia_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" +################################ +# TheBigLake +# Mainnet +mainnet_lake_onion=4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion +mainnet_lake_port=104 +# Testnet +testnet_lake_onion=ghbtv7lhoyhomyir4xvxaeyqgx4ylxksia343jaat3njqqlkqpdjqcyd.onion +testnet_lake_port=1004 +# socat cmd +mainnet_lake_socat="socat tcp4-LISTEN:${mainnet_lake_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_lake_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" +testnet_lake_socat="socat tcp4-LISTEN:${testnet_lake_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_lake_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" + # RUN! -$mainnet_exp_socat & $testnet_exp_socat & $mainnet_temple_socat & $testnet_temple_socat & $mainnet_satstralia_socat & $testnet_satstralia_socat& nginx \ No newline at end of file +$mainnet_exp_socat & $testnet_exp_socat & $mainnet_temple_socat & $testnet_temple_socat & $mainnet_satstralia_socat & $testnet_satstralia_socat& $mainnet_lake_socat & $testnet_lake_socat & nginx \ No newline at end of file