Any blockchain bridge with API for BTC to WBTC conversion? - blockchain

I've been looking for any blockchain bridge that has an API as well as supports BTC to wBTC.
I've tried RenBridge, but that can only be used via their webApp. The path there would be, BTC to renBTC to wBTC (uniswap). But no API.
So, anyone aware of any such bridging service where i can get an API as well. Centralized bridge service is preferred but at this point, Decentralized would work too. API is a must.
I've explored the following list of bridges so far.
xpolinate
RenBridge
zeroDao
Obvious
Binance Bridge

To answer my own question.
RenJs from RenProject can be used through an API to convert BTC to renBTC on etherium.
I must have missed this before as I mentioned looking at RenBridge.
https://renproject.github.io/ren-client-docs/ren-js/v3/tutorial/gateways

Related

Is it possible to build a real-world private ethereum blockchain without any transaction fee and what other costs should I be aware of?

Recently I have been working on a class project. I have built a Supply chain Dapp, that was based on truffle framework and ganache as a local blockchain. I have some issues regarding the concepts of private Ethreum blockchain.
My question is, is it possible to build a real-world private Ethereum blockchain for a specific organization without any transaction fees and what other costs should I be aware of? And the second question is do I need to deploy my Dapp on Rinkeby? It's just that I read somewhere that you should deploy your dapp to testnets like Rinkeby to demonstrate that it functions well in a setting more like to the Ethereum mainnet.
Since I just used ganache for the dapp, I wanted to be certain
I found some answers online but they were not satisfactory, it would be greatly appreciated and helpful if you could provide me with some directions on the subject, as I am relatively new to this. Thank you.
Yes you can. These are generally called permissioned chains. While you incur compute cost, your org or anyone given permission to use the chain doesn't pay for gas.
There is still a gas price, it is essentially useless since as the authority on the chain you can mint infinite gas. Such chains usually have PoA (proof-of-authority consensus).
You can use these clients to build such chains:
GoQuorum - geth fork which lags in upstream updates by a few months. Has lots of consensus algo options like QBFT/Raft. Additionally ships with privacy tx manager. Application level permissioning.
OpenEthereum (Deprecated) - My personal favorite. I have worked with this client extensively and wrote a public humanitarian chain spec with it (https://github.com/grassrootseconomics/kitabu-chain). Uses AuRA consensus. Well documented.
Nethermind - Supports AuRa consensus. Haven't used it, but should have more features than OpenEtherem.
Geth - Supports Clique. I am not a fan of clique consensus but it can work well.
I have documented some PoA consensus comparisons here. You might find it useful.
My question is, is it possible to build a real-world private Ethereum blockchain for a specific organization without any transaction fees and what other costs should I be aware of?
No, because each transaction will consume CPU, IO and network bandwidth. These must be measured and the transaction stopped, or otherwise, one malicious transaction can halt the whole network by consuming all the resources. Thus, at least an internal unit of accounting is needed.
And the second question is do I need to deploy my Dapp on Rinkeby?
Why would you do that? Please read xyproblem.info on how to ask more understandable questions.
I understand from your question that you built a Dapp and tested it using Ganache and Truffle frameworks. However, you wish to test your application on a testnet similar to rinkeby.
It appears that there are certain projects which allow you to create a mainnet fork. You just need to provide them with the infura URL of the mainnet, and they will spin up your local Ethereum mainnet fork. This enables you to test your dapp under mainnet conditions. Additionally, you may assign as many tokens as you wish to your address.
Here is a link to a repository that can perform this task.
https://github.com/yearn/yearn-mainnet-fork
To deploy your contract on the local blockchain instance, you will simply need to use the RPC URL provided by this repository.
Yes, you can indeed.
Both GoQuorum and Besu allow you to create a completely gas-free network.
https://consensys.net/docs/goquorum/en/latest/concepts/free-gas-network/?h=gas

Hyperledger or R3 Corda

Our company is planning to develop a product for trace-ability of a supply chain. We are looking at considering one of the block chain frameworks Hyper-ledger or R3 Corda. Could some body tell your views on what to select and why.
Thanks,
Madhu
I propose to use Emercoin NVS to maintain trusted history of your supply chain. This is "developer-friendly" public blockchain, and it has open JSON HTTP API for:
Upload your data into blockchain
Add ("update") your data
Retrieve update history
This blockchain is used in Deloitte DocSensus notarization product.
I can help you to adopt these technologies. Also, will give you testnet EMCs for free, if need.

implementing MQTT using Google cloud pub sub

I want to implement MQTT using pubsub API of google app engine in python. How can I run pub sub library in standard library. If I am required to run the older version of this API, can anyone provide with the sample. Also one issue with the latest library is that it is alpha version. Later on I will connect the MQTT client using the GCP-IOT protocol.
I would strongly advise against it. Not only you are wasting your time and energy, you are also trying to use something that is not meant to be used it that way. In the end, the cost is going to be huge compared deploying an MQTT on your own instance.
If you are looking for a fully managed solution from GCP, you might be interested in trying out GCP Core IOT which is currently in private beta. More details here: https://cloud.google.com/iot-core/
I second checking out Google IoT Core.
If you have a special use case, you could always connect Google PubSub to another MQTT-enabled IoT platform like Losant. Here is an example of it:
https://docs.losant.com/applications/integrations/#google-pubsub
Then, as you subscribe to messages from PubSub you could publish to MQTT topics and vice versa.
Disclaimer: I work for Losant.

Implementing BlockChain on .HTML files?

People are involved now a days with KYC implementation and Asset Management of BlockChain. I don't exactly know how they are taking the input in that case, but can we Implement BlockChain on .HTML files?
Like taking particular input from User on a Webpage, and then doing the Base64 Encoding, and using it on a network of Blockchain?
I'm working on the Hyperledger project.
Yes you can. That is the whole idea. You can indeed create a web based user interface to interact with your chaincode.
Have you looked at the demo examples available ? The marble one for instance ?
The backend of this application is the GoLang code running in blockchain network, while the Web based user interface is created to set the values and pass them to the chaincode. Interacting with the chaincode is done with a HTTP REST call to a peer on the network.
here is the marble application flow for you convenience,
Please visit here for further details and guidelines.

What are the current technologies used for web service discovery? UDDI?

I'm looking at building a new service discovery platform to allow our customers to provide plugins to our platform. I know that UDDI was the technology "du jour" a while ago, however, in doing some research it appears that UUDI is falling out of favour with people. What are you using for service discovery these days? What would you like to use given the chance?
These days API Gateways are becoming popular choice for Sharing API & related documents along with. As far service discovery is concerned specific vendors have their own implementation as well such as Oracle API Catalog.