37 lines
917 B
JavaScript
37 lines
917 B
JavaScript
import { blinkSchema } from '@/lib/validate'
|
|
|
|
export const galoyBlinkUrl = 'https://api.blink.sv/graphql'
|
|
export const galoyBlinkDashboardUrl = 'https://dashboard.blink.sv/'
|
|
|
|
export const name = 'blink'
|
|
export const walletType = 'BLINK'
|
|
export const walletField = 'walletBlink'
|
|
export const fieldValidation = blinkSchema
|
|
export const clientOnly = true
|
|
|
|
export const fields = [
|
|
{
|
|
name: 'apiKey',
|
|
label: 'api key',
|
|
type: 'password',
|
|
help: `you can get an API key from [Blink Dashboard](${galoyBlinkDashboardUrl})`,
|
|
placeholder: 'blink_...'
|
|
},
|
|
{
|
|
name: 'currency',
|
|
label: 'wallet type',
|
|
type: 'text',
|
|
help: 'the blink wallet to use (BTC or USD for stablesats)',
|
|
placeholder: 'BTC',
|
|
optional: true,
|
|
clear: true,
|
|
autoComplete: 'off'
|
|
}
|
|
]
|
|
|
|
export const card = {
|
|
title: 'Blink',
|
|
subtitle: 'use [Blink](https://blink.sv/) for payments',
|
|
badges: ['send only']
|
|
}
|