Get started
You need to this code to be able to participate in the PAY2PLAY beta. Clone this repository to a folder on your desktop or alternatively download the zip and unzip the contents.
Dependencies
The following libraries need to be installed.
- Node installed - v7+
- NPM installed - v8.10.0+
Instructions
- Run
npm installto install all dependencies from npm. - Run
npm install --save jsonschema@1.2.2. - Edit plugins.js with your payment information. Details are inside the file.
- Run PayWixAtSignUp.js to pay 5XRP to your pay2play account. Please make sure that the most current address listed on the website is used for the destinationAddress field.
node PayWixAtSignUp.js - That's it! Head on to pay2play to confirm your balance.
- At the account settings page, make sure that the switch for Pay2Play is ON, if you want to play for money.
Bugs
Sometimes an error might occur while running the PayWixAtSignUp script.
2. Making payment to test.crypto.xrp.r9k7quHo74erBuiz5bxg3p8YVv2LsBS46v
no such schema </tag>.
Ensure that you ran the npm install --save jsonschema@1.2.2 command.
License
All files in this repo are under the MIT license. Feel free to reuse them in your projects!
Built With
- interledger
- javascript
- node.js
Log in or sign up for Devpost to join the conversation.