Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added celo-social-connect-dapp/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions celo-social-connect-dapp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
21 changes: 21 additions & 0 deletions celo-social-connect-dapp/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 DevRel Team & Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
24 changes: 24 additions & 0 deletions celo-social-connect-dapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Social Connect dApp

This demo dApp is designed to help users understand how to integrate the Social Connect protocol. The features included are:

1. Assign a social identifier (in this case, I selected Twitter) to an address.
2. Retrieve the address associated with the previously mapped identifier to transfer value.
3. Delete the mapping within the protocol.

## Built With

- [Celo Composer](https://github.com/celo-org/celo-composer)
- [Social Connect](https://github.com/celo-org/SocialConnect)

## Notes

This dApp has been created for demonstration purposes. For a production-ready dApp, consider updating the architecture and implementing server-side functions to ensure the security of your environment variables, preventing exposure of sensitive information.

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

## Contact

- [@0xNestor](https://twitter.com/0xNestor)
29 changes: 29 additions & 0 deletions celo-social-connect-dapp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "celo-social-connect-dapp",
"version": "1.0.0",
"description": "Custom Celo Composer project.",
"private": true,
"author": "Celo",
"license": "MIT",
"scripts": {
"react-app:dev": "yarn workspace @celo-social-connect-dapp/react-app dev",
"react-app:build": "yarn workspace @celo-social-connect-dapp/react-app build",
"react-app:start": "yarn workspace @celo-social-connect-dapp/react-app start",
"react-app:lint": "yarn workspace @celo-social-connect-dapp/react-app lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/celo-org/celo-composer.git"
},
"bugs": {
"url": "https://github.com/celo-org/celo-composer/issues"
},
"homepage": "https://github.com/celo-org/celo-composer/blob/main/README.md",
"workspaces": [
"packages/*"
],
"keywords": [
"celo-composer",
"celo"
]
}
Binary file added celo-social-connect-dapp/packages/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions celo-social-connect-dapp/packages/react-app/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
38 changes: 38 additions & 0 deletions celo-social-connect-dapp/packages/react-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

.env
24 changes: 24 additions & 0 deletions celo-social-connect-dapp/packages/react-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Social Connect dApp

This demo dApp is designed to help users understand how to integrate the Social Connect protocol. The features included are:

1. Assign a social identifier (in this case, I selected Twitter) to an address.
2. Retrieve the address associated with the previously mapped identifier to transfer value.
3. Delete the mapping within the protocol.

## Built With

- [Celo Composer](https://github.com/celo-org/celo-composer)
- [Social Connect](https://github.com/celo-org/SocialConnect)

## Notes

This dApp has been created for demonstration purposes. For a production-ready dApp, consider updating the architecture and implementing server-side functions to ensure the security of your environment variables, preventing exposure of sensitive information.

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

## Contact

- [@0xNestor](https://twitter.com/0xNestor)
Loading