Skip to content

Commit

Permalink
v12.0.1: v12 link in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Sep 12, 2023
1 parent c4fde46 commit dbeaf72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ https://github.com/DePayFi/buttons/assets/851393/e1df201e-3da9-4bfd-978d-d32d59c

## Quickstart

Just place this on your website. No additional installations required:
Visit https://app.depay.com -> Integrations -> New -> Select a button

Configure your button and place html code afterwards:

```html
<div
class="DePayButton"
label="Pay"
widget="Payment"
configuration='{"accept":[{"blockchain":"ethereum","amount":20,"token":"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb","receiver":"0x4e260bB2b25EC6F3A59B478fCDe5eD5B8D783B02"}]}'
integration="YOUR-INTEGRATION-ID"
/>
<script src="https://integrate.depay.com/buttons/v11.js"></script>
<script src="https://integrate.depay.com/buttons/v12.js"></script>
<noscript><a href="https://depay.com">Web3 Payments</a> are only supported with JavaScript enabled.</noscript>
<script>DePayButtons.init({ document });</script>
```
Expand Down Expand Up @@ -54,7 +54,7 @@ Intended to perform payments for services and goods:
widget="Payment"
configuration='{"accept":[{"blockchain":"ethereum","amount":20,"token":"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb","receiver":"0x4e260bB2b25EC6F3A59B478fCDe5eD5B8D783B02"}]}'
/>
<script src="https://integrate.depay.com/buttons/v11.js"></script>
<script src="https://integrate.depay.com/buttons/v12.js"></script>
<noscript><a href="https://depay.com">Web3 Payments</a> are only supported with JavaScript enabled.</noscript>
<script>DePayButtons.init({ document });</script>
```
Expand All @@ -72,7 +72,7 @@ Intended to receive donations with having users select the amount they are donat
widget="Payment"
configuration='{"title":"Donation","accept":[{"blockchain":"ethereum","token":"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb","receiver":"0x4e260bB2b25EC6F3A59B478fCDe5eD5B8D783B02"}]}'
></div>
<script src="https://integrate.depay.com/buttons/v11.js"></script>
<script src="https://integrate.depay.com/buttons/v12.js"></script>
<noscript><a href="https://depay.com">Web3 Payments</a> are only supported with JavaScript enabled.</noscript>
<script>DePayButtons.init({ document });</script>
```
Expand All @@ -90,7 +90,7 @@ Intended to directly sell tokens:
widget="Sale"
configuration='{"sell":{"ethereum":"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb"}}'
></div>
<script src="https://integrate.depay.com/buttons/v11.js"></script>
<script src="https://integrate.depay.com/buttons/v12.js"></script>
<noscript><a href="https://depay.com">Web3 Payments</a> are only supported with JavaScript enabled.</noscript>
<script>DePayButtons.init({ document });</script>
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/buttons",
"moduleName": "DePayButtons",
"version": "12.0.0",
"version": "12.0.1",
"description": "A simple button brings Web3 Payments to your website or App. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion with state-of-the-art widgets.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down

0 comments on commit dbeaf72

Please sign in to comment.