Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drift-labs/solana-actions-server
https://github.com/drift-labs/solana-actions-server
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/drift-labs/solana-actions-server
- Owner: drift-labs
- Created: 2024-07-02T03:41:01.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-21T07:48:09.000Z (4 months ago)
- Last Synced: 2024-08-22T04:55:04.176Z (4 months ago)
- Language: TypeScript
- Size: 108 KB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blinks - `solana-actions-server` - Example Solana Actions code base from [Drift](https://discord.gg/driftprotocol). (Developer Tools)
- awesome-blinks - `solana-actions-server` - Example Solana Actions code base from [Drift](https://discord.gg/driftprotocol). (Developer Tools)
README
# Express TypeScript API
## Prerequisites
- Node.js
- npm or yarn
- A .env file with necessary configurations## Installation
1. **Clone the repository:**
```bash
git clone
cd
```
2. **Install dependencies:**
```bash
npm install
# or
yarn install
```
3. **Create a .env file:**
```bash
BUCKET=
ENV=
PORT=
NODE_ENV=
URL=
```
3. **Start the server**
```bash
npm run dev
# or
yarn dev
```
## Routes
```GET /blinks/deposit?token=&ref=``````POST /transactions/deposit?token=&amount=&ref=```
```
Content-Type: application/json
{
"account": ""
}
```