doest work anymore bc of add_coins, remove_coins and create_coin was removed
TDLR:
you have a front end to register in the coin, and you can share the source code to your users to sign in.
and you have a back end that the owner of the coin need to leave running to register the registration requests coming from the front end, and you cant share the back end source code because it have sensitive information.
How it works?
everything works around using coin names as a messaging protocol for the back and front end to communicate.
in the front end:
the front end will first check if the back end is running by checking if the owner is changing his sell order.
then it will create a coin with the wallet pin as its name, and then open a dummy order in the coin and wait for the back end to register the subwallet using the coin name and the wallet_id of the order
in the back end:
the back end constantly open a sell order of 99998 and 99999 back and forth to signal to the front end that the registrations are open.
and while it is running it is scraping all the orders on the market and trying to use the coin_name as a pin and the wallet_id of the transactions to create a subwallet
how do i set this up?
on the frontEnd.src :
edit YOUR_COIN = "1337coin" to your coin name
and OWNER_WALLETS = ["lock", "000111"] to include your wallet_id or all the wallet_ids of the users who will run the back end
then share the source code with the users in discord or whatever
on the backEnd.src
edit my_coin = blockchain.get_coin("coin", "user", "pass") with coin_name, user, password of your coin respectfully