Opensource Steem Escrow GUI

in #utopian-io6 years ago (edited)

SteemEscrow GUI

This is Steem Escrow GUI built on top of STEEM Blockchain using Steem JS and STEEM and GOLOS Escrow Transactions GUI by @xtar as reference.

Why This?

You may ask if there is already one project exists why another. The answer is my project is fundamentally different form @xtar's one. In this project I refactored some of @xtar's code but my project is greared towards hosting of the escrow service by anyone. It can support API for agents lists, and also has a better UI IMHO. It also use latest Steem JS library and Bootstrap 3.

What is the project about?

STEEM has a escrow service built into it's blockchain which is little known and very little talked about. While checking Steem JS API documentation I noticed API endpoints for Escrow and wanted to built something on it as hobby project. After bit of searching I found @xtar's project but that wasn't working. As the beauty of opensource project - I read through his codes and wanted to modify it to work and serve my need.

How it works

At first a Steemit.com user need to visit https://codebull.github.io/SteemEscrow/ or any self-hosted version of this porject with respective agent list and create a escrow transaction using his/her Active private key. If the transaction creation is successful, there will be an URL for escrow control panel, which the sender needs to send to the receiver and the agent of the transaction for their approval.

If any of them does not approve the transaction, the escrow transaction will be canceled. If both of the receiver and agent approves, transaction will go through and within the transaction warranty period sender and receiver can release and return the fund to receiver or sender repectively. If any of the sender and receiver dispute the transaction then agent will decided who to send the fund.

By default it usage testnet.steem.vc not real steemit.com. To use real Steemit.com accounts please remove the following lines from the top of js/app.js.

// STEEM cofig for test chain
steem.api.setOptions({ url: 'wss://testnet.steem.vc' });
steem.config.set('address_prefix', 'STX');
steem.config.set('chain_id', '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673');

A visual guide

Creating Escrow Transaction
image-01.png

Upon successful creation Escrow sender will receive a link to escrow control panel.
image-02.png

Escrow control panel before Agent's and Receiver's approval.
image-03.png

When receiver and agent will click Approve or Disapprove button it will ask for their respective Active Private Key other details will be filled in automatically.
image-04.png

After approval from Agent and Receiver, sender or receiver can dispute or release the fund to each other.
image-05.png

On dispute agent can decide to whom the fund should go.
image-06.png

And agent can release the fund with his/her active private key.
image-07.png

Technology stack

  • HTML, CSS, JS
  • jQuery (3.3.1)
  • Bootstrap (3.3.7)
  • Steem JS (0.7.1)

Github: https://github.com/CodeBull/SteemEscrow/

Demo: https://codebull.github.io/SteemEscrow/

How to contribute

Testing of the service and your contribution in the project is highly encouraged. To contribute clone this repository and open the files in a code editor. JS can be edited from src/js/app.js and CSS can be edited from /src/css/app.scss.

Requirements:

  • Node Js
  • NPM
  • Terminal
  • Gulp
  • BrowserSync

On the project root open up Terminal and write npm install to install dependencies. After installation write gulp to start BrowserSync live reload server and start editing on code editor.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @reazuliqbal I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you so much. I am planning to improve this as a service as well as make contributions to other projects.

very impressive work!! This is amazing what you built.. do you realize what you just made? Escrow services is one of the primary industries that I predict will be disrupted by blockchain... if you can write that kind of code ... wow.... you could create blockchain escrow & title companies to replace brick and mortar and be on the forefront of a multibillion dollar industry

Thank you for your kind comment. I am thinking of making an escrow service built on top of Steem Blockchain, but with a twist. But I am unsure about some local regulation (our government banned cryptocurrencies). I am thinking of partnering with a foreign individual(s) to bring my idea to reality.

Thank you for the contribution. It has been approved.

Please add a LICENSE file in your repository and try to bring users to your platform it can be a good idea.

You can contact us on Discord.

[utopian-moderator]

Thank you for your recommendation and approval. I've added a LICENSE file to the repository.

This post has received a 0.68 % upvote from @drotto thanks to: @reazuliqbal.

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly � Featured Posts are voted every 2.4hrs
Join the Curation Team Here | Vote Resteemable for Witness

Congrats, reazuliqbal! This post has been resteemed to all my followers for Free. Keep on the hard work on Steemit! Please also checkout @growingpower for comment upvote service ;)

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by reazuliqbal from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Coin Marketplace

STEEM 0.27
TRX 0.11
JST 0.030
BTC 67488.06
ETH 3761.44
USDT 1.00
SBD 3.56