How to send multi-transaction of Binance smart chain programatically? - cryptography

I need to send multi-transaction of Binance smart chain.
It means different amounts to different wallets but for only one transaction fee.
I know that it is technically possible. Do you know in which language should it be written?
Thank you

Related

How to get bitcoin balance in smart contract

I am making a smart contract and want to know the bitcoin balance of a metamask address.How can I do this? Since BTC is not ERC-20.
Have you considered using a block explorer (something like blockstream.info)
All you need to know is the address you want to query.
I assume want to do automate this, and in this case you can search for an api - http://blockchain.info/api
You will have to implement the API, but that's the only way as far as I know from a smart contract running on Etherium.

Automate sending info to the blockchain once an specific number of entries is reached?

It's a music website, the idea is to record on the blockchain every time a song is played.
Since we don't want to force users to install metamask so they can sign transactions, the idea is to store in an array, so that the smart contract sends it to the blockchain every 100 plays for example.
What's the best way to achieve this?
Please explain better, what technology do you use for your website? .net asp?
when you say "send to the blockchain" do you mean to a smart contract?
and an array of what do you want to send?
If you want to send something from a website to a smart contract on the blockchain you can use Nethereum thru .net asp.
Shouldn't be hard to write a c# code to send something every X times.
Just remember that storing new data on the blockchain cost gas (money).

How can I add a burn function to a BSC smart contract?

University is out for summer and I am attempting to develop a smart contract on binance smart chain.
I have followed a youtube tutorial and made a very basic token which allows buys and sells, however I would like to add a burn function i.e a tax is placed on every transaction, and I would like x% to be added to liquidity on pancakeswap, x% to be burned and x% to be redistributed to holders of my token.
The internet seems to be pretty scarce on information on how to implement this, so if anyone would mind giving me a hand it would be great!
I am creating the token on remix.ethereum.org

Good Practices for Auction E-Commerce - Should I store Credit Cards Details?

I am sorry if this wasn't a good place to ask a question like this, but since I always got help from Stackoverflow I though I could get some answer to my problem.
So here is the thing, I am building a e-commerce website like many famous websites over there, where you can make bid offers for items on the market.
The thing I want to be sure is that when someone place a bid for some item, they can not turn back on their word, because if they get accepted the money should be withdrawn from their bank accounts, do you get what I mean?
Because I want the merchant to be safe if they accept a offer they want the money, and they don't want to look for another legit offer.
So how can I accomplish this?
Should I ask the credit card details when they make the bid offer and only make the withdraw operation from their accounts if the their offer was accepted by the merchant? [using some automated trigger on my database of course]
If this is not the best practice to accomplish this, which is the one??
I am really new into payment methods and I just started doing my search for Payment Gateways (maybe they offer me this functionality... I don't know?!)
You should never store credit card details, and have the details is not really any guarantee of getting paid since the card could just be canceled.
What you are probably looking for is for Authorization and delayed capture (depending on the timeline you are looking at). Different payment processors have different time requirements around how long you can hold an authorization. In general you would make a request with the API to Authorize the charges (kind of like a 'hold' on your credit card) and then later you would either cancel or Capture, where the funds would be transferred. See more info about the process and Square's API here: https://docs.connect.squareup.com/articles/delayed-capture-transactions/

Bitcoin Api (only found 1)

I need to use a bitcoin api, and only have found CoinBox. The problem is that coinbox is limited to only a few sites and isnt open to everyone so I cant use it. Are there any good alternatives to coinbox.me? Thanks.
There are actually quite a few apis. First there is coinbase which is my favorite since they pay the transaction fees for transactions over 0.001 BTC and all internal transactions are absolutely free (and instant). You can see their api. (https://coinbase.com/docs/api/overview). What they lack is that it is hard to grab the TX id's and any other specific information. There is also blockchain.info which is the most feature full, but the downside is that you have to pay all of the fees and it can get to be very expensive. You can see the api. (https://blockchain.info/api). There are a lot more but the problem is that they are very buggy. I hope this helps!
It is not necessary to use web wallets to create addresses. You can install your own bitcoin server/daemon and act like your own bank.
This is the place to start if you want to know how to do it (https://en.bitcoin.it/wiki/Main_Page).
Bitcoin can be queried using JSON RPC methods. So if you are running a bitcoin daemon locally you can just query them. The documentation for the same is located at
Running Bitcoin - https://en.bitcoin.it/wiki/Running_Bitcoin
API Reference - https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
API Call List - https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
Hope this helps.