Skip to content
An in-browser Ethereum wallet with support for payment channels
TypeScript CSS JavaScript HTML Smarty
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
harness Initialize Repository Apr 1, 2018
infrastructure Initialize Repository Apr 1, 2018
stubs Initialize Repository Apr 1, 2018
types Initialize Repository Apr 1, 2018
vendor/@machinomy/contracts/dist/build/contracts Initialize Repository Apr 1, 2018
vynos
.DS_Store Initialize Repository Apr 1, 2018
.gitignore Remove ignored files Apr 1, 2018
Dockerfile Initialize Repository Apr 1, 2018
LICENSE.md Create LICENSE.md Apr 2, 2018
README.md Update README.md Apr 1, 2018
WorkerRunnerPlugin.js Initialize Repository Apr 1, 2018
development.env Initialize Repository Apr 1, 2018
gulpfile.js Initialize Repository Apr 1, 2018
package-lock.json Initialize Repository Apr 1, 2018
package.json Update package.json Apr 2, 2018
tsconfig.json Initialize Repository Apr 1, 2018
webpack.js Initialize Repository Apr 1, 2018
yarn-error.log Initialize Repository Apr 1, 2018
yarn.lock

README.md

SpankCard

In-browser micropayments wallet.

Usage

To use SpankCard one has to plug it into a web page as yet another javascript library. In future, it will be available as an NPM package. For now, one has to put this to the web page code:

Development

Prerequisites

You are expected to have yarn package manager installed globally on your machine. For installation instructions go to the official web site.

Install

git clone https://github.com/SpankChain/SpankCard
cd SpankCard
yarn install

Rename development.env to .env and set some environment variables:

FRAME_PORT=9090
HARNESS_PORT=9999
CONTRACT_ADDRESS=0x**************************
RPC_URL=

Run

yarn run harness

That command starts a web server to play with SpankCard on localhost. Open browser on http://localhost:9999 and click on some buttons.

WTF is Harness

It demonstrates SpankCard work on localhost. It runs a web page (SpankCard client) on localhost:9999. Serves SpankCard frame (stores privateKeys a-la MetaMascara) from localhost:9090. Different ports make the browser think the pages belong to different origins, thus should be secured against each other malicious behaviour.

Copyright Notice

SpankCard use icons from icons8.com

You can’t perform that action at this time.