testing

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

testing

bitnob #
This SDK equips online businesses using flutter with the ability to accept and process bitcoin payments via on-chain or lightning seamlessly.
Platform Support #



Android
iOS




✔️
✔️



⚙️ Android Setup #
No any requirement
copied to clipboard
⚙️ Ios Setup #
No any requirement
copied to clipboard
Getting Started #

Open a command line and cd to your projects root folder
In your pubspec, add an entry for bitnob to your dependencies (example below)
pub install

Installation #
You just need to add bitnob as a dependency in your pubspec.yaml file.
dependencies:
bitnob: ^0.0.2
copied to clipboard
-Run flutter packages get to install the package
How to Use #
import 'package:bitnob/bitnob.dart';
copied to clipboard
final BitNob _bitNob = BitNob();
copied to clipboard
Example #
await _bitNob.buildWithOptions(
baseUrl: "your base url",
description: "test",
callbackUrl: "test",
successUrl: "",
notificationEmail: "customer@gmail.com",
customerEmail: "customer@gmail.com",
satoshis: 2000,
reference: "test",
publicKey: "your public key",
context: context,
failCallback: (fail) {
//fail callBack
},
successCallback: (success) {
//success callBack
},
closeCallBack: (close) {
//close callBack
},
);
copied to clipboard
Note: successUrl keep blank.
copied to clipboard
How to get "publicKey" to use bitnob SDK? #

Please Sign up here, Then follow this link to get publicKey.

📷 Screenshots #



Platform
Screenshot




Android



iOS




License #
MIT License

Copyright (c) 2022 bitnob

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.