BS Update : Added History Transaction Page / finally you can try your first transaction here

in Steem Marketing3 years ago

Screen Shot 2021-07-01 at 23.49.40.png

What is BS ?

BS ( Bank STEEM ) is a web-based swap application that I plan to develop in the near future. where later in this application, steemit users from Indonesia can easily buy steem or SBD with rupiah, and vice versa.

What is update today ?

Good news for all of you, after this post we made. You can already transact at STEEM Bank. this time, I created a page that displays the history of each transaction from you. so when you make this transaction, you can already see your transaction history on this page.

Live demo : https://bank-steem.web.app/

when can we transact on BS?

For now, we are only open from 10 am to 12 pm. we haven't opened 24 hours. So if there is a transaction outside business hours, we will process it during business hours

how is the transaction process in BS?

you just enter what you want to swap. for example, IDR to rupiah. you just enter the amount of IDR in the form provided. and select the output you want. after the output is selected, the number of outputs will appear, for example, SBD. according to other market prices.

Can we get the code from this application?

Of course, because this application is an open source application. so anyone can see it. I accidentally uploaded this app on my github. you can see at this link: https://github.com/sogatanco/bank-steem.

here my summary code:

firebase.auth().onAuthStateChanged((user) => {
          if (user) {
              var db=firebase.firestore().collection("/transactions");  
              db.get().then(snap=>{
                var dataall=[];
                snap.docs.forEach(snap=>{
                    if(snap.data().uid===user.uid){
                        dataall.push(snap.data())
                    }
                }) 
                dataall.sort(function(a,b){
                    return b.time - a.time;
                })
                this.setState({tr:dataall})

                  
              })

          } else {
            this.setState({redi:true})
          }
        });

Proof of Work

https://github.com/sogatanco/bank-steem/commits/master

Screen Shot 2021-07-02 at 00.04.05.png

important link

Special thank

kind Regards

@sogata

Sort:  
 3 years ago 

it is a great improvement.

 3 years ago 

thank you

Congratulations...!!! You Got Upvote 100 %
By: PromoSteem Community

Alternative links delegates to @promosteem.com
50100200300400500
10002000300040005000
10000

 3 years ago 

Platform NFT market neupeget saboh di Steem.

 3 years ago 

heeheh hana meuphom nyan lom

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.031
BTC 68916.78
ETH 3733.42
USDT 1.00
SBD 3.73