{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "cryptoway-button/button",
    "version": "1.0.1",
    "title": "Cryptoway Payment",
    "category": "cryptoway",
    "icon": "money-alt",
    "description": "A pay-with-crypto button: a fixed or free amount, paid on the Cryptoway page or right here.",
    "keywords": [ "crypto", "payment", "donation", "bitcoin", "usdt", "cryptoway" ],
    "textdomain": "cryptoway-button",
    "attributes": {
        "bid":      { "type": "string", "default": "" },
        "amount":   { "type": "string", "default": "free" },
        "amounts":  { "type": "string", "default": "5,10,25" },
        "min":      { "type": "string", "default": "" },
        "currency": { "type": "string", "default": "" },
        "pay":      { "type": "string", "default": "page" },
        "label":    { "type": "string", "default": "" },
        "title":    { "type": "string", "default": "" },
        "after":    { "type": "string", "default": "message" },
        "message":  { "type": "string", "default": "" },
        "redirect": { "type": "string", "default": "" },
        "access":   { "type": "string", "default": "" },
        "fields":   { "type": "string", "default": "" },
        "coins":    { "type": "string", "default": "" },
        "custom":   { "type": "string", "default": "yes" },
        "qr":       { "type": "string", "default": "yes" },
        "setup":    { "type": "string", "default": "" },
        "amountLabel":  { "type": "string", "default": "" },
        "otherLabel":   { "type": "string", "default": "" },
        "coinLabel":    { "type": "string", "default": "" },
        "nameLabel":    { "type": "string", "default": "" },
        "emailLabel":   { "type": "string", "default": "" },
        "messageLabel": { "type": "string", "default": "" },
        "color":    { "type": "string", "default": "" },
        "textColor": { "type": "string", "default": "" },
        "radius":   { "type": "string", "default": "" },
        "width":    { "type": "string", "default": "" },
        "size":     { "type": "string", "default": "" },
        "frame":    { "type": "string", "default": "" },
        "skin":     { "type": "string", "default": "" }
    },
    "supports": {
        "html": false,
        "align": [ "left", "center", "right", "wide", "full" ],
        "customClassName": true,
        "spacing": { "margin": true, "padding": true },
        "typography": { "fontSize": true }
    },
    "editorScript": "file:./index.js",
    "editorStyle": [ "file:../../assets/css/front.css", "file:./editor.css" ]
}
