@shoppersshop/shop-wallet
v0.2.16
Published
![CircleCI](https://circleci.com/gh/ShoppersShop/shop-wallet.svg?style=svg&circle-token=bd691ed71802193befdaae620fb7b767df9684af)
Downloads
31
Keywords
Readme
SHOP Wallet
This project represents the first iteration of the web version of the SHOP Wallet. This version is a React component that can be embedded in any React web application. It currently lives in two places:
The SHOP Wallet currently interacts with off-chain SHOP Protocol services through a REST API. After the token release this wallet will also manage keys and manage data on Ethereum.
Installing
The wallet can be installed through npm or yarn:
$ npm install -s @shoppersshop/shop-wallet
Usage
The wallet can be directly embedded into any existing React project. It is responsible for managing credit card payments for SHOP membership, which requires the use of a Stripe publishable key that is compatible with the current SHOP protocol.
If you are interested in integrating with SHOP, contact Jeff Mataya for more details.
import Wallet from '@shoppersshop/shop-wallet';
const WalletContainer = () => (
<div>
<Wallet
params={{
stripeKey: STRIPE_PUBLISHABLE_KEY
}}
/>
</div>
);
Contributing
Thanks for considering to help out with our source code! We operate on an open contributor model where anyone across the Internet can help in the form of peer review, testing, and patches.
For more details about how to get involved, see our Contribution Guide.
License
MIT