2Settle is a solution built to enable users to easily spend or send cryptocurrency in fiat currency. Currently, the platform supports spending or sending the following cryptocurrencies:
- Multi-chain cryptocurrency support (BTC, ETH, BNB, TRX, USDT).
- Simple chat-based user interaction.
- Real-time bill payment/purchase.
- Real-time gift creating/claiming
- Real-tim payment request/request fulfilment
Check out the preview deployment
To start, simply greet the bot by saying one of the following:
HiHelloHowdy
Follow the prompts to proceed with your interactions.
To run the development server locally:
-
Clone the repository:
git clone https://github.com/SIRFITECH/chat.2settle
-
Navigate to the project directory:
cd chat.2settle -
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
Make sure to configure the following environment variables:
host=<mysql_db_host_link>
port=<mysql_db_host_port>
user=<mysql_db_user_name>
password=<mysql_db_password>
database=<mysql_db_database_name>
COINMARKETCAP_API_KEY=<current_crypto_coin_to_dollar_exchange_rate_api>
TWILIO_ACCOUNT_SID=<twilio_sid>
TWILIO_AUTH_TOKEN=<Twilio_auth_token>
TWILIO_PHONE_NUMBER=<twilio_phone_number>/__tests__
/public
src/
│
├── /pages
│ ├── /api
│ ├── /transact
│ ├── /history
│ ├── /reportly
│ ├── /settings
│ └── _app.js
│ └── index.js
│
├── /components
│ ├── /shared
│ ├── /transactions
│ ├── /history
│ ├── /reports
│ ├── /settings
│ └── /modals
│
├── /features
│ ├── /transact
│ ├── /history
│ ├── /reportly
│ └── /settings
│
├── /hooks
│ ├── useTransaction.js
│ ├── useTheme.js
│ └── useUserPreferences.js
│
├── /utils
│ ├── api.js
│ ├── auth.js
│ ├── date.js
│ ├── errorHandling.js
│ └── validation.js
│
├── /styles
│ ├── globals.css
│ ├── tailwind.css
│ └── components.css
│
├── /services
│ ├── transactionService.js
│ ├── userService.js
│ ├── reportService.js
│ ├── walletService.js
│ └── bankService.js
│
├── /context
│ ├── ThemeProvider.js
│ ├── AuthProvider.js
│ └── TransactionProvider.js
│
├── /public
│ ├── /images
│ └── /icons
│
├── .env.local
├── next.config.js
├── tailwind.config.js
├── package.json
├── README.md
└── tsconfig.json
- Next.js (App Router) - A React framework for building server-side rendered and static web applications.
- Tailwind CSS - A utility-first CSS framework for styling.
- DaisyUI - A Tailwind CSS component library for building beautiful user interfaces effortlessly.
To run tests (if available):
pnpm testThe project is deployed on Vercel. To deploy updates:
- Push changes to the
mainbranch. - Vercel automatically builds and deploys the project.
- Currently, only supports a predefined set of cryptocurrencies.
- Limited fiat currency disbursement options.
We welcome contributions! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/new-feature
- Commit changes:
git commit -m "Add new feature" - Push to the branch:
git push origin feature/new-feature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, please contact:
- Email: support@2settle.io
- Website: 2Settle.io