Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dr497 committed May 25, 2023
0 parents commit d834167
Show file tree
Hide file tree
Showing 79 changed files with 17,689 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
node_modules/
.expo/*
dist/
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/
.xnft-bundle/
xnft-bundle.zip

# macOS
.DS_Store
.env
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.18.0
50 changes: 50 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<h1 align="center"> Contribution Guidelines 🤝</h1>
<br />

<p align="center">
<img width="250" src="https://i.imgur.com/nn7LMNV.png"/>
</p>

<p align="center">
<a href="https://twitter.com/bonfida">
<img src="https://img.shields.io/twitter/url?label=Bonfida&style=social&url=https%3A%2F%2Ftwitter.com%2Fbonfida">
</a>
</p>

<br />

Welcome, future SNS Manager contributor! We're thrilled to have you here.

Before you start contributing, here are a few guidelines to make the process smoother for everyone involved.

## Getting Started 👩‍💻👨‍💻

1. **Fork the repository:** Start by forking this repository to your GitHub account. This creates a copy of the repository that you can modify without affecting the original code.

2. **Clone the repository:** After forking, clone the repository to your local machine to start making changes.

## Making Changes 🛠️

1. **Create a new branch:** Always make changes in a new branch, not in the master branch. Name the branch something relevant to the changes you're making.

2. **Make your changes:** Make the changes you think would improve the project. This could be anything from fixing a bug to adding a new feature.

3. **Test your changes:** Before you submit your changes, make sure they don't break the app. Run your changes on your device/emulator and ensure everything works as expected.

## Submitting Changes 📬

1. **Commit your changes:** After making and testing your changes, commit them with a clear and concise commit message. This helps us understand what the changes do.

2. **Push your changes:** Push your changes to your forked repository on GitHub.

3. **Open a pull request:** Finally, open a pull request from your forked repository to the main repository. In the pull request, describe the changes you've made, why you've made them, and any other information that might be helpful.

## Code of Conduct 📜

We're dedicated to maintaining a welcoming and productive community. Please be respectful and considerate of others. Any form of harassment or offensive behavior is unacceptable.

## Questions? 💡

If you have any questions, don't hesitate to open an issue or reach out to us directly on [Twitter](https://bonfida.org). We're always happy to help!

Remember, your contributions are what make open source amazing. Let's build something great together! 🚀🌐
82 changes: 82 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<h1 align="center">SNS Manager 🌐</h1>
<br />

<p align="center">
<img width="250" src="https://i.imgur.com/nn7LMNV.png"/>
</p>

<p align="center">
<a href="https://twitter.com/bonfida">
<img src="https://img.shields.io/twitter/url?label=Bonfida&style=social&url=https%3A%2F%2Ftwitter.com%2Fbonfida">
</a>
</p>

<br />

Hello, Solana lovers! Welcome to the official repository for SNS Manager, your all-in-one tool for handling Solana Name Service (SNS) domains. With SNS Manager, you can view, manage, search, and register decentralized domain names that end with .sol right from your mobile device! How cool is that? 😎

<br />
<center>
<img height="400px" src="./assets/illustration.png" />
</center>
<br />

<br />
<h2 align="center">Table of contents 📝</h2>
<br />

- [About SNS Manager](#about-sns-manager)
- [Features](#features)
- [Contribution](#contribution)
- [License](#license)

<br />
<h2 align="center">About SNS Manager 🚀</h2>
<br />

This open-source mobile app is designed to provide a seamless and user-friendly way to interact with Solana Name Service (SNS). If you're a fan of the decentralized web and love Solana, SNS Manager is the tool you need.

<br />
<h2 align="center">Features 🛠️</h2>
<br />

### Manage Your Domains 🎛️

Set your favorite .sol domain as default and manage your domain name records with ease. You can define your website or alternative addresses on other chains, or even set up your social records like Telegram, Reddit, and Discord. We've got you covered!

### View Your Domains 👀

See all the domains you own and transfer them as needed. Keep track of your digital assets in the decentralized web.

### Search Domains 🔍

Discover new domains, see their records, and learn more about their owners. Maybe you'll find your next big investment!

## Contribution 🤝

We love our community and we embrace contributions. If you're an open-source enthusiast, a Solana aficionado, or someone who loves building cool stuff, come join us! Check out our [contribution guidelines](CONTRIBUTING.md) and become a part of the SNS Manager journey.

## Rodmap 🗺️

| Feature | Description | In progress | Completed | Bounty |
| ------------------- | ----------------------------------------------------------------- | ----------- | --------- | ------ |
| Subdomain support | Add support for subdomain management, creation and search ||||
| Profile pic upload | Allow people to upload a picture from device as a profile picture ||||
| Wrap domain names | Allow tokenization of domain names into NFT ||||
| Chinese translation | Translate the app in Chinese ||||
| Korean translation | Translate the app in Korean ||||
| Turkish translation | Translate the app in Turkish ||||

## License 📄

SNS Manager is an open-source project licensed under MIT. Feel free to explore, expand, and improve!

<br />
<h2 align="center">Wrapping Up 🎁</h2>
<br />

SNS Manager is more than just an app, it's a step towards a more decentralized future. Join us in this exciting journey. We can't wait to see what we'll build together! 🚀🌐

<hr>

_If you have any questions or suggestions, feel free to open an issue or pull request, or simply contact us at [insert contact info]. We're always here for a good chat about Solana and the decentralized web!_
7 changes: 7 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"expo": {
"name": "SNS Manager",
"slug": "sns-manager",
"entryPoint": "./src/App"
}
}
Binary file added assets/default-pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions assets/default-pic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions assets/fida.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/illustration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/wormhole.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
67 changes: 67 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"private": true,
"homepage": ".",
"scripts": {
"build": "expo export:web",
"start": "yarn build && npx xnft web",
"bundle": "yarn build && npx xnft bundle",
"dev": "GENERATE_SOURCEMAP=false expo start --web & npx xnft --iframe http://localhost:19006"
},
"dependencies": {
"@adraffy/ens-normalize": "^1.9.0",
"@bonfida/name-offers": "^0.0.10",
"@bonfida/name-tokenizer": "^0.0.11",
"@bonfida/sns-emitter": "^0.1.7",
"@bonfida/sns-react": "^1.0.2",
"@bonfida/spl-name-service": "0.2.8",
"@coral-xyz/common-public": "^0.2.0-latest.3375",
"@expo-google-fonts/dev": "*",
"@expo/vector-icons": "^13.0.0",
"@pythnetwork/client": "^2.17.0",
"@react-native-clipboard/clipboard": "^1.11.2",
"@react-navigation/bottom-tabs": "6.3.1",
"@react-navigation/native": "6.0.10",
"@react-navigation/native-stack": "6.6.1",
"@react-navigation/stack": "6.2.1",
"@solana/buffer-layout": "^4.0.1",
"@solana/spl-token": "^0.3.7",
"@solana/web3.js": "^1.75.0",
"axios": "^1.4.0",
"buffer": "^6.0.3",
"expo": "~48.0.7",
"expo-blur": "^12.3.0",
"expo-constants": "~14.2.1",
"expo-status-bar": "~1.4.4",
"react": "18.2.0",
"react-async-hook": "^4.0.0",
"react-dom": "18.2.0",
"react-error-overlay": "6.0.11",
"react-native": "0.71.3",
"react-native-gesture-handler": "~2.9.0",
"react-native-heroicons": "^3.2.0",
"react-native-modalfy": "^3.4.0",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-skeleton-content": "^1.0.28",
"react-native-web": "~0.18.12",
"recoil": "*",
"split-graphemes": "^0.5.0",
"twrnc": "*"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@expo/webpack-config": "^18.0.1",
"@types/react": "~18.0.28",
"@types/react-native": "~0.71.3",
"commander": "^9.4.1",
"fast-glob": "^3.2.12",
"glob": "^8.0.3",
"jszip": "^3.10.1",
"typescript": "^4.9.5",
"uuid": "*",
"xnft": "latest"
},
"resolutions": {
"react-error-overlay": "6.0.11"
}
}
56 changes: 56 additions & 0 deletions palette-02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"blue-050": "#DCEEFB",
"blue-100": "#B6E0FE",
"blue-200": "#84C5F4",
"blue-300": "#62B0E8",
"blue-400": "#4098D7",
"blue-500": "#2680C2",
"blue-600": "#186FAF",
"blue-700": "#0F609B",
"blue-800": "#0A558C",
"blue-900": "#003E6B",

"yellow-vivid-050": "#FFFBEA",
"yellow-vivid-100": "#FFF3C4",
"yellow-vivid-200": "#FCE588",
"yellow-vivid-300": "#FADB5F",
"yellow-vivid-400": "#F7C948",
"yellow-vivid-500": "#F0B429",
"yellow-vivid-600": "#DE911D",
"yellow-vivid-700": "#CB6E17",
"yellow-vivid-800": "#B44D12",
"yellow-vivid-900": "#8D2B0B",

"blue-grey-050": "#F0F4F8",
"blue-grey-100": "#D9E2EC",
"blue-grey-200": "#BCCCDC",
"blue-grey-300": "#9FB3C8",
"blue-grey-400": "#829AB1",
"blue-grey-500": "#627D98",
"blue-grey-600": "#486581",
"blue-grey-700": "#334E68",
"blue-grey-800": "#243B53",
"blue-grey-900": "#102A43",

"cyan-050": "#E0FCFF",
"cyan-100": "#BEF8FD",
"cyan-200": "#87EAF2",
"cyan-300": "#54D1DB",
"cyan-400": "#38BEC9",
"cyan-500": "#2CB1BC",
"cyan-600": "#14919B",
"cyan-700": "#0E7C86",
"cyan-800": "#0A6C74",
"cyan-900": "#044E54",

"red-050": "#FFEEEE",
"red-100": "#FACDCD",
"red-200": "#F29B9B",
"red-300": "#E66A6A",
"red-400": "#D64545",
"red-500": "#BA2525",
"red-600": "#A61B1B",
"red-700": "#911111",
"red-800": "#780A0A",
"red-900": "#610404"
}
Loading

0 comments on commit d834167

Please sign in to comment.