A mobile app for testing payment systems against double-spend attacks.
Double-spending is no longer a theoretical possibility but a practical reality. Most of the end-user applications used widely today leave their users vulnerable to being defrauded via double-spend attacks. PayNoWay is a tool that you can use to test the applications that you, or your business, depend on to accept on-chain cryptocurrency payments. If you would like to learn more about how double-spending works: Double-Spending Made Easy.Disclaimers This project is intended to be used for testing purposes. Please do not use this app to double-spend against merchants without their explicit consent. A successful double-spend is not guaranteed - use at your own risk. Requirements nodejs - For Linux and Mac install node via nvm. make For Android development: Java Development Kit (JDK) version 8 or higher. Use your system's native package manager to install the JDK (if available). Android SDK - On Ubuntu 18.04 or later, it is possible to install Android Studio from Ubuntu Software Sources. gradle adb - Not required, but is recommended. Getting Started
Before continuing, be sure you already have the project's requirements.
Download the project files via git:git clone https://github.com/samotari/pay-no-way.git
Install the project's dependencies:cd pay-no-way npm install
Build the application files:Android
Before installing and running the app on Android, you must prepare the Android platform with cordova:
This downloads the cordova plugins which are necessary to build the app for Android devices.Running on Android (VM)
Run the following command to check to see if there are any available Android virtual devices:
Install and run the app on the virtual device with the following command:Running on Android (Device)
To install and run the app on an Android device, you must first: