For developers/engineers who can build products but have no sales or marketing experience.
The #1 reason startups fail: building something nobody wants.
| export const SURFLUX_API_URL = process.env.SURFLUX_API_URL || 'http://localhost:8000'; | |
| export const SURFLUX_API_KEY = process.env.SURFLUX_API_KEY || 'test_api_key'; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Surflux DeepBook Trading Dashboard</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/lightweight-charts@4.1.1/dist/lightweight-charts.standalone.production.js"></script> | |
| <script> | |
| tailwind.config = { |
| fn verify_signature( | |
| &self, | |
| caller: &ManagedAddress, | |
| url: &ManagedBuffer, | |
| signature: &Signature<Self::Api>, | |
| ) { | |
| let mut data = ManagedBuffer::new(); | |
| data.append(caller.as_managed_buffer()); | |
| data.append(url); |
| import { BadRequestException, Body, Controller, Post, UseGuards } from '@nestjs/common'; | |
| import { ApiTags } from '@nestjs/swagger'; | |
| import { CachingService } from '../../common/caching/caching.service'; | |
| import { randomBytes } from 'crypto'; | |
| import { Constants } from '../../utils/constants'; | |
| import { JwtService } from '@nestjs/jwt'; | |
| import { LoginDto } from './dto/login.dto'; | |
| import { Address, SignableMessage, UserPublicKey } from '@elrondnetwork/erdjs/out'; | |
| import { ThrottlerBehindProxyGuard } from '../../common/throttle/throttle.guard'; |