BS Update : Added Admin Page for monitoring Transaction / SO FAR I GET 2 TRANSACTION IN BS
IMPORTANT NEWS
after I announced yesterday in my previous post that BS can do transactions. So far we have got 2 people who transact in BS. they are @arie.steem and @lapulga. arie.steem converts from SBD to IDR while lapulga converts from STEEM to IDR.
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 ?
in this update, we just added an admin page to monitor transactions. We intentionally created this admin page locally and we don't host it for security. you can't see the live demo, because we purposely don't host this app for admin. here's the screenshot
why admin page only in local?
we deliberately do not host for security reasons. Because if in local no one can access except the admin only one.
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:
process(id){
var db=firebase.firestore().collection("/transactions");
db.doc(id).update({
status:'processing'
})
}
finish(id){
var db=firebase.firestore().collection("/transactions");
db.doc(id).update({
status:'success'
})
}
componentDidMount(){
this.timerID=setInterval(
()=>this.getData(),
1000)
}
componentWillUnmount(){
clearInterval(this.timerID);
}
getData(){
var db=firebase.firestore().collection("/transactions");
db.get().then(snap=>{
var dat=[]
snap.docs.forEach(s=>{
dat.push({'id':s.id, 'data':s.data()});
})
this.setState({data:dat})
})
}
Proof of Work
important link
- about bs
- consultation with country representatives
- BS update 1
- BS update 2
- BS update 3
- BS update 4
- BS update 5
- BS update 6
Special thank
- PromoSteem Sponsor :
steemcurator01 , booming, @stephenkendal, @siz-official, @around-theworld - PromoSteem Team :
@arie.steem @ponpase @pojan - Country Representatives
@anroja @ernaerningsih @nazarul @radjasalman @heriadi
Good job Broo
thank you my bro
Mancappp sekaliii
terimakasih
Very nice post
thank you
Thanks for this.
u r welcome
Mantul. Semoga app nya cepat jadi... Salam kenal....
terimaksih bang
Hello, thank you for contributing to the promosteem channel. we are currently conducting a survey for everyone in promosteem about the level of satisfaction with the promosteem community.
Please fill out the questionnaire that we have provided
thank you
questionnaire link : https://forms.gle/jd1bVvaeUubVgwV49
regards
arie