Forwarded from Viper Foundation
Today I managed to get two devices behind different NATs (Network Address Translation) talking to each other through TON (based on the work from sddao-v1).
Basically, itβs a TON Relay.
Hereβs how it works: Alice (A) and Bob (B) both connect to a Relayer (R). Then messages can go from A to B through R:
A β R β B
Before this, I tried a TURN (Traversal Using Relays around NAT) version, but providers are expensive. For example, Metered currently offers:
β’ Growth Plan β $99/mo for 150 GB. Overage $0.40/GB (~$400/TB).
β’ Business Plan β $199/mo for 500 GB. Overage $0.20/GB (~$200/TB).
β’ Enterprise Plan β $499/mo for 2 TB. Overage $0.10/GB (~$100/TB).
And custom plan available. Can Metered and others provide for $1 - $8 per TB (see below)? Iβm not sure π
Another option is Cloudflare ($51/TB). GCP, AWS, Azure (~$100 β $300/TB) are significantly more expensive. Twilio is even pricier, at around $400 β $820/TB depending on region.
The upside: easy Web integration and WebRTC support, but itβs pricey.
With TON, all you need for production is a VPS (starting as low as $3β$5) and network bandwidth (on Hetzner up to 20 TB included, with additional TBs costing $1 β $8 each depending on location). For development, you can set up a local network and use it just like in production.
The downside: working via the Web through TON isnβt very convenient yet, but it will be possible using sddao-v1 0.0.6 (https://github.com/systemdesigndao/sddao-v1-builds-public/tree/master/sddao-p2p-0.0.6).
I expect the Relay version will get a different name. For now, Iβm finishing E2E encryption, and the chat will be publicly available.
If you have any questions β feel free to DM me.
Basically, itβs a TON Relay.
Hereβs how it works: Alice (A) and Bob (B) both connect to a Relayer (R). Then messages can go from A to B through R:
A β R β B
Before this, I tried a TURN (Traversal Using Relays around NAT) version, but providers are expensive. For example, Metered currently offers:
β’ Growth Plan β $99/mo for 150 GB. Overage $0.40/GB (~$400/TB).
β’ Business Plan β $199/mo for 500 GB. Overage $0.20/GB (~$200/TB).
β’ Enterprise Plan β $499/mo for 2 TB. Overage $0.10/GB (~$100/TB).
And custom plan available. Can Metered and others provide for $1 - $8 per TB (see below)? Iβm not sure π
Another option is Cloudflare ($51/TB). GCP, AWS, Azure (~$100 β $300/TB) are significantly more expensive. Twilio is even pricier, at around $400 β $820/TB depending on region.
The upside: easy Web integration and WebRTC support, but itβs pricey.
With TON, all you need for production is a VPS (starting as low as $3β$5) and network bandwidth (on Hetzner up to 20 TB included, with additional TBs costing $1 β $8 each depending on location). For development, you can set up a local network and use it just like in production.
The downside: working via the Web through TON isnβt very convenient yet, but it will be possible using sddao-v1 0.0.6 (https://github.com/systemdesigndao/sddao-v1-builds-public/tree/master/sddao-p2p-0.0.6).
I expect the Relay version will get a different name. For now, Iβm finishing E2E encryption, and the chat will be publicly available.
If you have any questions β feel free to DM me.
1π¨βπ»1
Forwarded from Viper Foundation
Itβs interesting that modern technology already allows creating accounts without phone numbers or emails, purely on cryptographic keys β yet services like this are still rare.
We recently experimented with this approach in Viper Messenger, using TON as the foundation. It works more like a crypto wallet that also supports normal messaging, with no gas fees.
A quick Viper Messenger overview β as easy as 1, 2, 3:
1. Entry β Start your node with one tap. No phone number, no email, no KYC.
2. Identity β Your cryptographic keys are your profile.
3. Chats β Encrypted by default. No dividing secret or not. Always secret.
By the way, @dogejetton pushed me to give Viper Messenger a proper UX/UI upgrade.
We recently experimented with this approach in Viper Messenger, using TON as the foundation. It works more like a crypto wallet that also supports normal messaging, with no gas fees.
A quick Viper Messenger overview β as easy as 1, 2, 3:
1. Entry β Start your node with one tap. No phone number, no email, no KYC.
2. Identity β Your cryptographic keys are your profile.
3. Chats β Encrypted by default. No dividing secret or not. Always secret.
By the way, @dogejetton pushed me to give Viper Messenger a proper UX/UI upgrade.