Open MrX01010101010 opened 3 years ago
Updating the architecture part:
Application architecture on multiple single-purpose servers, tied in clusters behind a single endpoint, serves as a mediator between external (Internet-originated) requests and the internal ecosystem, which does not have access to the Internet and is not available on the Internet as well. Two leading server roles in the system are authentication servers and message processing servers. Auth servers are primarily responsible for user session initiation/termination and existing session validity confirmation. Another function of auth servers is to manage user-supplied certificates, register public keys in the Smart Contract of the Secret Network, and confirm that they are still valid. Auth servers will use stored user account data in a clustered PostgreSQL database to make decisions about authentication/authorization user requests. Messaging and mailing servers are the core of the service - designed to check supplied encrypted messages and persist/fetch them upon user request. Messages are stored in a NoSQL database for better scalability/clustering and message/other sendable object hashes are stored in the Smart Contracts to ensure sending fact/originator credibility. All communication with the outside world using the Internet is done in the TLS-protected connections and protected Edge locations with anti-DDoS and Web-Application Firewall solutions.
The architecture is subject to change while scaling the solution.
Approved! Very cool stuff
Altermail: Secure data integrity sharing model based on a three-tier system
Project Description
"Altermail intends to be a privacy-preserving secure communication platform leveraging Secret Contracts on the Secret Network blockchain."
The main goal of this product is to create and implement a secure data integrity sharing model using blockchain technology. Altermail's secure data integrity sharing models use a digital signature, a proxy encryption scheme, and Secret Network's encryption schema with smart contracts.
Data owners can use Altermail's information-sharing system to ensure that this information is not available to everyone. Only delegated users can view the data; as keys will be available only at the User side and will not be sent even to Altermail.
Altermail's system architecture consists of three layers - application, access, and data. The base layer is the application layer, it ensures the receipt and transmission of information and encryption are private secure by default. Secret Contracts on the Secret Network blockchain serve as the data verification and authentication storage mechanism for Altermail. Secret Contracts metadata is encrypted. Additionally, Secret Contracts serve as neutral and automated intermediaries for data integrity on Altermail. The data layer is required to store user-sent data that is encrypted. This architectural part of the system also uses the encryption module needed for the delegation process. The three-tier architecture used in the secure, seamless data model ensures application performance and security.
The support from Secret Network at an early stage can make the project successful in a short timeframe. This grant request will allow us to continue the implementation and creation of Altermail - specifically Secret Contract development. Additionally, SCRT may become increasingly valuable as it can be used in the communication sector and team collaboration apps empowered by Altermail and all of the potential features on the product roadmap.
Problem / Solution
There is an illusion of security and privacy of communication by current solutions such as Gmail/Protonmail/Whatsapp/Telegram/Discord/Slack/cTemplar. Sadly, many privacy communities unwittingly use unsecured communication apps that do not have truly privacy-preserving communications as promised. Altermail aims to fill this gap by offering truly secure and private email based on blockchain technology, specifically Secret Network.
Why is Altermail needed? Primarily, because we believe privacy is not only a human right, but also an important utility. Without privacy, users are in danger of damaging their social life, finances, control of data, and control of identity (via impersonation). Surveillance by “Big Brother” and a range of applications widely adopted compromise our data - allowing malicious entities to use data as means to manipulate politics, economy, culture, global relations, and even “truth” itself.
Altermail will provide decentralized communication that is safe, secure, and private. All of this is made possible by the three-layer architecture outlined earlier. Secret Network is a crucial part of one of the layers, and is what makes Altermail a truly unique solution.
Detailed product description
Sequence diagram
Minimal registration fields: Username, password, or authentication token. Authorization via Username and Password/Token1st scheme - Encryption key generation (ECDH/ECIES to be used) After authentication on the website, the user generates (on a client-side) two keypairs - KEK (Key Encryption Key) and DEK (Data Encryption Key). KEK will never leave the user computer/environment, and DEK will be stored in encrypted form in a Smart Contract (as well as key recovery metadata in case user loses his KEK). After generation completion of both key pairs, DEK will be encrypted using KEK and both DEK parts will be uploaded and stored in the Smart Contract. Key usage: • KEK public key - to encrypt DEK private key (once or whenever KEKs are compromised [DEK must be re-encrypted with newly generated KEK] or lost [in that case DEK is useless and must be re-generated. All previous messages will be unreadable]). It is possible to recover DEK using recovery information stored alongside in the Smart Contract; • KEK private key - to decrypt DEK private key (every time user signs in the system to work with his messages); • DEK public key - to encrypt messages addressed to the user (by the sender); • DEK private key - to decrypt received messages.
2nd scheme - Sending a message After authentication, the user will retrieve his DEKs from the Smart Contract using ALTERMail service and decrypts them locally using his KEK private key (private KEK part must be inserted into the browser for in-browser decryption). • The user will sign a message using his private DEK and then request the message recipient’s public key (the recipient's DEK public key) to encrypt the message locally. • The encrypted message then is transmitted to the ALTERMail server, where it is persisted for further decryption by the receiver. Additionally, the Smart Contract is updated to put a new record describing sending event meta-data (originator, receiver, timestamp, message hashes).
3rd scheme - Receiving a message • After authentication the user will retrieve his DEKs from the Smart Contract via ALTERMail service and decrypts them locally using his KEK private key (private KEK part must be inserted into the browser for in-browser decryption). • The user will retrieve an encrypted message from the ALTERMail servers and decrypt it using a pre-decrypted DEK private key. • After message decryption, the signature is verified by checking the sender's DEK public key. Also, the fact that the sending event originated from that particular sender is verified by querying the blockchain's Smart Contract.
This setup allows the user to securely and privately send and receive messages.
Go-to-Market plan
Altermail aims to have a sustainable long-term budget for marketing to achieve the most noticeable impact. Specifically, the go-to-market plan requires extensive awareness building, credibility garnering, and partnerships between various blockchain networks and privacy communities (specifically Secret Network). During and after product creation, Altermail will aim to participate on social networks, partake in multiple events, and engage in weekly community calls and updates.
The initial aim for the Altermail product and team is to reach $10m in ARR within a year (July 2021 as a starting point). The current stage is the so-called “start of the race,” where we will build the Altermail MVP, Problem and Solution product roadmap, and create traction via the multiple available marketing channels. Our goal is to have our MVP built with $1m marks within the next three months. After this initial stage, Altermail will then transition into intensive user acquisition strategies (“Growth Machine” as we call it internally) leveraging channel expansion. This growth traction will be driven by organic growth; more than 50% of growth will be organic because in order for a user to interact with Altermail they must invite their contacts to join as users on Altermail. The Altermail team strongly believes word-of-mouth marketing (WOM) marketing is the fastest way to grow the Altermail user base.
Reaching organic growth of 50% from new users by having 10k users milestones makes a compelling case for investors to help catapult Altermail (and by extension Secret Network) into a truly global scale. After reaching the 10k users milestone, the focus of Altermail will shift to global retail users (those who are not familiar with blockchain/cryptocurrency or people who might care about their privacy and security on the internet). Specifically, the team will prepare a light version of the service known as “freemium.” This can be achieved later on once we scale the technology part (speed on verifications, multiple party acknowledgments of messages distributed between them). All of these features we believe will be part of pulling in a wave of t millions of new users to try out the Altermail product and then buy the full-stack service.
Meanwhile, sales will still happen on a B2B basis, where companies seeking safer solutions than what is currently offered on the market will be happy to partner and purchase the Altermail service. We believe B2B is a strong vector for us because of the constant cyber-attacks and data leaks existing with a variety of industries where privacy and security are key components of the respective businesses' value proposition.
Altermail will also be targeting privacy key opinion leaders (KOLs). The right tweet from the right KOL can change the entire course of a product's future. “Altermail is an interesting privacy solution leveraging the Secret Network blockchain that you can use today. Dedicated to privacy and anonymity - Altermail”, /Edward Snowden/. Imagine how that could change the history of Secret Network and Altermail.
The subscription is on a recurring annual fee of $50- in the Beta version (MVP with a discount of 40%). Scaling the product with additional features will increase the price per year. We predict that the full-stack service within 3 months will be a $75 per annum charge. People who enroll at first have the benefit of having it much cheaper.
Value capture for Secret Network ecosystem
A secure and private data-sharing application built on Secret Network will drive network usage growth as well as user acquisition. Because Altermail uses Secret Network, there will be regular batches of transactions used - all of which can help increase gas usage on Secret Network and ultimately drive demand for the acquisition of SCRT.
The kick-start is crucial for Altermail and Secret Network, and the Altermail team believes the synergy and impact will be tremendous.
On top of mentioned functionalities, we will be implementing in the scaling process the following things:
Team members
Team Website
Team's experience
We've been a team for four months, and we are just getting started since we want to scale our team as soon as possible by adding more backend devs, QA, another front-end dev, and add digital marketing specialists to support us on social media platforms.
Team Code Repos
Team LinkedIn Profiles
Development Roadmap
0-2 weeks MVP (end of June) – sending/receiving messages, profile alteration, login and back-end functionality of encryption set up, server setup, finished front-end/UI, keypair generation; 3-4 (MVP) weeks (by mid - July) to implement Secret Network smart contract creation/alteration, implement payment option with Secret, including Keys and recovery keys are stored on SN. 5-12 (product launch) weeks (Aug - mid-Sep) / 1st part of scaling the product functionalities and resources: • Improving the user interface and experience • sSCRT wallet built in, where people can pay either with sSCRT directly to an e-mail address (as opposed to a SCRT address) • Obtain additional exposure of server set up and increase throughput; • Implement group messaging functionality; • Add channel/group set up functionality and tie them to the smart contract; • Add/remove users of the channel (tied smart contract alteration); • Improve the FAQ section and support/help-desk for the users; • Plan out and implement the integration with Fardels to use Altermail as the communication between buyer & seller 13-24 weeks (mid-Sep - Dec) - 2nd feature set implementation: • Voice-call functionality; • Automatic/scheduled/auto-expiring messaging functionalities; • App for iOS/Android
The team stack:
• 1 senior back-end (Java) -$5k/month (we have already one – Alexey but additional is needed for scaling) • 1 senior full-stack (Java/front-end) -$5k/month • 1 QA ~$3k/month • 1 senior DevOps (+1 middle, in the long run, depending on the users) -$2,4/month • Project Management costs -$5k /month (partly funded by EIT Digital investment)
The infrastructure:
Initial infrastructure to deliver the server set up and maintenance • 2-3 servers ($800-1300/month) handling 10 simultaneous messages per timeframe/seconds. Gradually increase as per demand. • Ensure within two months to have our own physical server and maintenance • Gradually use private/decentralised instances
Ideally, we can receive payments in 3 disbursements (total of $30,000 in SCRT), one at the beginning of the grant ($10,000), one after implementation of MVP ($10,000), and the last payment ($10,000) when the development work is completed for Beta.
Marketing and sales funnel are ~$20,000 and are connected to the following milestones. We firmly believe that the ROI on network growth and awareness would be x40 greater than the cost to fund this portion of this initiative: • 1k users – disbursement of $4,000 • 10k users - disbursement of $9,000 • 20k users - disbursement of $7,000
We would be willing to consider part payment in SCRTs, up to 90% since some of the costs are related to the marketing and sales funnel.
Additional Information
The budgeting can be decreased by having people who are dedicated to contributing to the project long-term and offer founding employee stock options + we want to achieve a solid revenue stream within the next two months after releasing the 1st version to the public. That will give us the possibility to decrease or cancel it.