All Projects → brewaa → Stellar Checkout

brewaa / Stellar Checkout

Licence: agpl-3.0
A javascript plugin for the stellar.org blockchain

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stellar Checkout

Libra Sdk Go
Go SDK for the Libra cryptocurrency
Stars: ✭ 23 (+64.29%)
Mutual labels:  cryptocurrency
Moneymanagerex
Money Manager Ex is an easy to use, money management application built with wxWidgets
Stars: ✭ 836 (+5871.43%)
Mutual labels:  cryptocurrency
Monero Testnet Sandbox
Monero (XMR) testnet sandbox with 3 daemons and 3 wallets
Stars: ✭ 12 (-14.29%)
Mutual labels:  cryptocurrency
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+6492.86%)
Mutual labels:  cryptocurrency
Cosmos
Internet of Blockchains ⚛
Stars: ✭ 938 (+6600%)
Mutual labels:  cryptocurrency
Jekyll Paspagon
Sell your Jekyll blog posts in various formats for cryptocurrencies.
Stars: ✭ 8 (-42.86%)
Mutual labels:  cryptocurrency
Hth Legacy Old Chain
Old Binaries and source code for HTH. Deprecated.
Stars: ✭ 22 (+57.14%)
Mutual labels:  cryptocurrency
Odyn
A prototype anonymous proof-of-work blockchain
Stars: ✭ 13 (-7.14%)
Mutual labels:  cryptocurrency
Finch
An Open Source Cryptocurrency Payment Processor.
Stars: ✭ 27 (+92.86%)
Mutual labels:  cryptocurrency
Livecoin Api
LiveCoin RESTful API wrapper for Node.js
Stars: ✭ 12 (-14.29%)
Mutual labels:  cryptocurrency
Cryptocompare Api
Jupyter Notebook with examples of useful CryptoCompare API calls
Stars: ✭ 25 (+78.57%)
Mutual labels:  cryptocurrency
Ipchain
IPChain Core Wallet
Stars: ✭ 26 (+85.71%)
Mutual labels:  cryptocurrency
Vectorbt
Ultimate Python library for time series analysis and backtesting at scale
Stars: ✭ 855 (+6007.14%)
Mutual labels:  cryptocurrency
Etgate
Ethereum-Tendermint token sending gateway
Stars: ✭ 23 (+64.29%)
Mutual labels:  cryptocurrency
Naivecoin
A cryptocurrency implementation in less than 1500 lines of code
Stars: ✭ 868 (+6100%)
Mutual labels:  cryptocurrency
Thewife
Crypto trading bot that reacts to optimized RSI signal 🤖📈💸
Stars: ✭ 22 (+57.14%)
Mutual labels:  cryptocurrency
Raspibolt
Bitcoin & Lightning full node on a Raspberry Pi
Stars: ✭ 842 (+5914.29%)
Mutual labels:  cryptocurrency
Currencyviewer
Short python framework that dynamically displays and converts the cryptocurrencies in your Kraken wallet into equivalents fiat money.
Stars: ✭ 13 (-7.14%)
Mutual labels:  cryptocurrency
Lightning App
An easy-to-use cross-platform Lightning wallet
Stars: ✭ 872 (+6128.57%)
Mutual labels:  cryptocurrency
Coin Ocd
Drive yourself insane by obsessively following cryptocurrency prices
Stars: ✭ 11 (-21.43%)
Mutual labels:  cryptocurrency

StellarCheckout

An open source javascript plug-in for the stellar.org blockchain.

E.g. https://www.stellarcheckout.com/demo?network=test&amount=99.97&currency=AUD&to=GBBADTX7GN4ENDZ55HIFEBSZH4NSKWABTM7LRX7AFZW3SZXULHTKB7XI&from=GDT34VGS4JJE7STTVN3FLYCXRDEMIPJCPDLRZS26LVC2GVRTE5UYCRCO&culture=en-AU&showNetworkSelector=0&showTicker=0

NOTE: Demo site had been taken down permanently

Installation

npm i --save-dev stellar-checkout

CDN

<script type="text/javascript" src="https://unpkg.com/stellar-checkout/stellar-checkout.min.js"></script>

NOTE: Use a specific version when loading via CDN. The latest version may contain breaking changes.

HTTPS

You must serve the script over HTTPS to use Ledger Wallet. Ledger wallet uses U2F which will fail without HTTPS.

Features

  • Send & receive payments in Lumens (XLM)
  • Responsive, Skinnable UI
  • Currency conversion support for 32 fiat currencies
  • Federation client
  • Ledger Wallet integration
  • Multiple networks (test, public and custom)
  • Simple integration options
  • Demos & Documentation (WIP)
  • Open source
  • Available via NPM and CDN

Options

{
  amount: {
    type: Decimal,
    required: false
  },
  culture: {
    type: String,
    required: false,
    default: 'en',
    options: [
      'en'
    ]
  }, 
  currency: {
    type: String,
    required: false,
    default: 'USD',
    options: ["AUD", "BRL", "CAD", "CHF", "CLP", "CNY", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PHP", "PKR", "PLN", "RUB", "SEK", "SGD", "THB", "TRY", "TWD", "ZAR"]
  },
  id: {
    type: String,
    required: false
  },
  network: {
    type: String,
    required: false,
    default: 'test',
    options: [ 'custom', 'public', 'test' ]
  },
  networkUri: {
    type: String,
    required: [network] === 'custom'
  },
  networkPassphrase: {
    type: String,
    required: [network] === 'custom'
  },
  onSubmit: {
    type: function,
    required: false
  },
  redirectUrl: {
    type: String,
    required: false
  },
  showNetworkSelector: {
    type: Boolean,
    required: false
  },
  showTicker: {
    type: Boolean,
    required: false
  },
  stylesheet: {
    type: String,
    required: false
  }
}

Reference

https://brewaa.github.io/stellar-checkout/reference/index.html

Demo

https://brewaa.github.io/stellar-checkout/demo/index.html

Basic Example

See Basic Configuration Example in the wiki.

<div id="elem"></div>
<script type="text/javascript" src="https://unpkg.com/stellar-checkout/stellar-checkout.min.js"></script>
<script>
StellarCheckout.render('#elem', {
  amount: '10',
  currency: 'GBP',
  to: 'GBBADTX7GN4ENDZ55HIFEBSZH4NSKWABTM7LRX7AFZW3SZXULHTKB7XI'
});
</script>

Wiki

More examples can be found in the wiki. View Examples

Payment Verification

Additional verification should be implemented on the server. The only way this can be achieved is by using the submit handler. The submit handler will dump the entire $state of the application at the time the transaction was processed. This data should be saved server side and verified independently.

Disclaimer

StellarCheckout is not affiliated with nor endorsed by the Stellar Development Foundation. StellarCheckout is an independent open source contribution to the Stellar network.

Tip Jar

XLM: GBBADTX7GN4ENDZ55HIFEBSZH4NSKWABTM7LRX7AFZW3SZXULHTKB7XI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].