# [Crypto Web3 Payment Button by DePay](https://depay.com/) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/DePayFi/buttons/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@depay/buttons.svg?style=flat)](https://www.npmjs.com/package/@depay/buttons) [![Tests](https://github.com/depayfi/buttons/actions/workflows/cypress.yml/badge.svg)](https://github.com/DePayFi/buttons/actions) Example ## Quickstart Visit https://app.depay.com -> Integrations -> New -> Select a button Configure your button and place html code into your website: ```html
``` ## Demo https://depayfi.github.io/buttons/dev.bundle.html ## Support ### Blockchains - [Ethereum](https://ethereum.org) - [BNB Smart Chain](https://www.binance.org/smartChain) - [Polygon](https://polygon.technology) - [Solana](https://solana.com) - [Optimism](https://www.optimism.io) - [Arbitrum](https://arbitrum.io) - [Fantom](https://fantom.foundation) - [Avalanche](https://www.avax.network) - [Gnosis](https://gnosis.io) - [Base](https://base.org) To indicate available blockchains icons underneath the button, set them via blockchains attribute: ```html
``` Will display ethereum, bsc and polygon icon underneath the payment button. ### Wallets DePay supports [most crypto wallets](https://depay.com/wallets). ## Buttons Every button can be configured by adding/changing the html attributes - `label`: The displayed label of the button - `configuration`: The configuration passed to the widget ### Payment Button ```html
``` [Read how to configure the widget](https://github.com/depayfi/widgets?#unmanaged-configuration) ### Donation Button Intended to receive donations with having users select the amount they are donating: ```html
``` [Read how to configure the widget](https://github.com/depayfi/widgets?#unmanaged-configuration) ### css attribute You can use the css attribute of the button element to declare css rules to style inside elements: ```html
``` ### Render with React You can also render DePay Buttons (over initializing them): ```javascript import DePayButtons from '@depay/buttons' return( ) ``` ## Development ### Get started ``` yarn install yarn start ```