As message signature is often done on wallet, I show the mobile version of the shop :
example message signature on wallet app
Here with Mycelium Testnet on mobile :
1/ Choose wallet
2/ Click left-top icon then "Signer un message" :
3/ Choose your signature key (honestly I took the first and it works, I don't know how Mycelium manage them, we'll have to improve this point with documentation and other wallets)
4/ type the random key message given by beBOP
Was this on previous screenshot, beBOP side :
5/ copy infos & paste them on beBOP (adress + signature)
1/ Crypto-admin creation (when initializing shop)
crypto-admin != super-admin :
super-admin : credentials for back-office administration as super user
crypto-admin : wallet signature for shop wallets operations
Those operations are the first to do on shop 1st deploy (they can even be done through envvar to avoid issues)
2/ Target cash-out address
On admin/transactions :
You must log as crypto-admin to edit this form
Click on red CTA = message signature check with the crypto-admin wallet
3/ Bitcoin node & Lightning cash-out CTAs
Click on red CTA = message signature check with the crypto-admin wallet
Note here that we can imagine "Cash in" button creating ready to scan QR code (or juste display the shop wallet QR Code) in order to shopowner to deposit sats on shop account.
(partially related to #291 and #292)
211
Basically https://www.verifybitcoinmessage.com/ done by the Bootik With https://www.geeksforgeeks.org/node-js-crypto-verify-function/
First applications before NFT-like features :
general message signature form on beBOP
As message signature is often done on wallet, I show the mobile version of the shop :
example message signature on wallet app
Here with Mycelium Testnet on mobile : 1/ Choose wallet 2/ Click left-top icon then "Signer un message" : 3/ Choose your signature key (honestly I took the first and it works, I don't know how Mycelium manage them, we'll have to improve this point with documentation and other wallets) 4/ type the random key message given by beBOP Was this on previous screenshot, beBOP side : 5/ copy infos & paste them on beBOP (adress + signature)
1/ Crypto-admin creation (when initializing shop)
crypto-admin != super-admin :
2/ Target cash-out address
On admin/transactions : You must log as crypto-admin to edit this form Click on red CTA = message signature check with the crypto-admin wallet
3/ Bitcoin node & Lightning cash-out CTAs
Click on red CTA = message signature check with the crypto-admin wallet Note here that we can imagine "Cash in" button creating ready to scan QR code (or juste display the shop wallet QR Code) in order to shopowner to deposit sats on shop account. (partially related to #291 and #292)