Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xGov 178: SIWA - Sign In With Algorand #178

Merged
merged 12 commits into from
May 8, 2024
87 changes: 87 additions & 0 deletions Proposals/xgov-178.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
id: 178
period: 4
title: SIWA - Sign In With Algorand
author: Aaron Martinez (@headline-design)
email: [email protected]
discussions-to: https://forum.algorand.org/t/xgov-178-siwa-sign-in-with-algorand/11705
company_name: HEADLINE
category: Tools
focus_area: Libraries
open_source: Yes
funding_type: Proactive
amount_requested: 150000
delivery_date: 2024-06-28
status: Draft
---

## Abstract

SIWA (Sign In With Algorand) is a decentralized authentication protocol that allows users to sign in to websites and applications using their Algorand wallet. SIWA is built on the Algorand blockchain and uses implements an Algo-equivalent EIP-4361 to verify user identity. SIWA is fully decentralized, fully compatable with EVM SIWE, secure, and transparent, providing users with a seamless and secure authentication experience. SIWA is open-source and free to use, making it accessible to developers and users worldwide.

- **EVM Compatibility**: SIWA will have tight compatibility with SIWE (Sign In With Ethereum), allowing developers to easily integrate SIWA into their existing Ethereum-based applications.
- **NextJS Support**: SIWA will support NextJS, a popular React framework, making it easy for developers to build fast and scalable web applications.
- **Enterprise Security**: SIWA will provide a best-practices security model and on-chain protocol for enterprise applications, ensuring that user data is secure and protected.

Feature 1: EVM Compatibility
SIWA will be modeled from the ground up to be compatible with SIWE, allowing developers to easily integrate SIWA into their existing Ethereum-based applications. This is a critical feature for developers who build Algorand applications with NextJS. This is a critical feature for developers who build EVM-compatible applications and want to leverage the Algorand blockchain for authentication.

Feature 2: EIP-4361 Equivalent
SIWA will implement an EIP-4361 equivalent on the Algorand blockchain. EI-4361 is an Ethereum Improvement Proposal that defines a standard for decentralized authentication on the Ethereum blockchain. SIWA will provide a similar standard for Algorand, allowing developers to easily integrate decentralized authentication into their applications.

Feature 3: NextJS Support
SIWA will support NextJS, a popular React framework, making it easy for developers to build fast and scalable web applications. NextJS is a powerful tool for building web applications, and SIWA will provide seamless integration with NextJS, allowing developers to build secure and scalable applications with ease.

Feature 4: Wallet/NFD Integration
SIWA will integrate with popular Algorand wallets, popular Algorand libraries, and NFD domains. This integration will allow users to easily sign in to websites and applications using their Algorand wallet, providing a seamless and secure authentication experience.

## Team

- Aaron Martinez, Lead Developer

- Role: Solo project lead
- Expertise: NextJS, React, Authentication
- Responsibilities: Project management, development, testing, deployment
- LinkedIn: https://www.linkedin.com/in/ussaaron

## Experience with Algorand

Aaron has been working with Algorand since 2021. He has recieved multiple development awards for the Pipeline-UI developer toolkit. He has extensive experience with the Algorand blockchain, including:

- Pipeline-UI developer toolkit
- https://github.com/headline-design/pipeline

- Algo-OS Open Source Campaign
- https://twitter.com/headline_crypto/status/1692964932944290294

- XBallot Governance Protocol
- https://xballot.net

- And much more!

## Present Proposal

Our grant application targets one critical milestones:

1. **SIWA Protocol publication**: Protocol publication will include full documentation site, NPM package publication, and all relevent integrations for use in production.

Cost Breakdown

Protocol publication - total: (150,000A)

- Full documentation site
- NPM package publication
- Production integrations

nonfungibleab marked this conversation as resolved.
Show resolved Hide resolved
## Benefits for the community

SIWA is a crucial tool for the Algorand community, providing a decentralized authentication protocol that fully integrates with SIWE and Next.js. SIWA will also:

- **Improve security**: SIWA will provide a best-practices security model and on-chain protocol for enterprise applications, ensuring that user data is secure and protected.
- **Increase adoption**: SIWA will make it easier for developers to build Algorand applications, increasing adoption and usage of the Algorand blockchain.
- **Enhance user experience**: SIWA will provide a seamless and secure authentication experience for users, making it easier for them to sign in to websites and applications.

## Additional information

EIP-4361 Overview: https://docs.login.xyz/general-information/siwe-overview/eip-4361<br>
NextJS Documentation: https://nextjs.org/docs/getting-started<br>
Loading