Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 610990e May 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode added new wallet creation options May 9, 2019
lib first commit Apr 17, 2019
services
.babelrc first commit Apr 17, 2019
.editorconfig
.eslintignore first commit Apr 17, 2019
.eslintrc first commit Apr 17, 2019
.gitignore first commit Apr 17, 2019
README.md Update README.md May 13, 2019
package-lock.json incremented squeezer-chainkit version May 9, 2019
package.json incremented squeezer-chainkit version May 9, 2019
squeezer.yml Update squeezer.yml May 14, 2019
swagger.yml first commit Apr 17, 2019
watcher.yml first commit Apr 17, 2019

README.md

Framework : squeezer.io

Documentation : docs.squeezer.io

Getting started

Full Video tutorial

  1. Install Squeezer's command line tool globally on your machine using npm: npm install squeezer-cli -g
  2. Create a new project using the squeezer-2way-payment template: sqz create --project my-first-project --template https://github.com/SqueezerIO/stellar-2way-payment-dapp
  3. Switch to the project's directory: cd my-first-project
  4. Initialize the local directory as a Git repository: git init
  5. Add the files in your new local repository. This stages them for the first commit: git add .
  6. Open up GitHub in a browser, navigate to the repositories page, and click on the New button, and enter the name of your project that you've created locally, in our case it will be my-first-project, then create the new repository.
  7. In Terminal, add the URL for the remote repository where your local repository will be pushed: git remote add origin remote repository URL
  8. Commit the files that you've staged in your local repository: git commit -m "First commit"
  9. Push the master branch to GitHub: git push -u origin master
  10. Open up a new browser window and navigate to https://platform.squeezer.io, then login to the platform.
  11. Click on the import project button and import the project you've created from GitHub.
  12. In the first step of the import process, you have to select the repository from your list.
  13. In the second step of the import, you have to choose the provider and the stage name, dev or prod.
  14. After importing the project, the deployment will start automatically.
  15. When the deploy will be finished, we can check the logs by clicking on it.
  16. Scroll all the way down in the log window and copy the Swagger URL, then paste in a browser window.

/v1/itn/callback - here we will receive every transaction that is made in or out of our wallet in real time.

/v1/wallet/create - create a new wallet - Important! Save all the information you receive after a wallet creation (wallet address, walled id and token)

/v1/wallet/{id}/balance - get wallet balance

/v1/wallet/{id}/transactions - get a history of the transactions made on your wallet

/v1/wallet/sendTransaction - initiate a blockchain transaction to another address

/v1/wallet/types - get current available wallet types

This is our Squeezer 2-way payment decentralized app - we made it agnostic, so it can be adapted to absolutely any blockchain out there, make sure to test it out, and let us know what you think!

You can’t perform that action at this time.