I'm developing a blockchain based system to provide energy certificates handled as tokens in hyperledger fabric. I've been doing some research but found no state of art on how to do this. If anyone can provide a useful link on how to bring this use case into hyperledger fabric tokens, I would be grateful. Also, I don't really know how to include the fabtoken functionality in an already deployed blockchain network. Any links or tips on how to start investigating for this will be welcome.
fabtoken was included in the fabric v2.0 alpha, but was reverted from git due to several issues. In other words, it is a method that is no longer supported.
Currently, fabric provides an example implemented in chaincode as a related token. See the link below.
fabric-samples/token-utxo
fabric-samples/token-erc-20
fabric-samples/token-erc-721
Related
I am building a XCFramework for my company and the primary purpose is to expose our data for clients using this Framework. Clients can access data using this Framework through use-cases without knowing the implementation details.
This Framework needs a very high run-time maintenance support as we may have to add or update the use-cases based on clients requests or changing busing requirements. It's very important to design an automated solution to deploy new changes and make the updated Framework available for clients. I'm looking to host SDK somewhere so I can build and deploy it. Something like maven for Android. But I've not found some good solution yet.
I would love to hear if someone has similar experience or if someone can guide for a better solution. Thanks
Is it alright to use hyperledger composer for a professional project? Since its depreciated.
I have need to solve a problem which can be solved easily with hyperledger composer. My main question is Is it wise to use composer after its been depreciated. Will there be any deployment Issue or anything while im carrying out this project?
I would highly advise you not to try to use hyperledger composer. It is end of life and the community has moved on, all that is left is the source code. The fabric client sdks and the new programming models on the chaincode side provide a much richer experience now and that is where you should focus your efforts.
I have previous experience in using Ethereum and Solidity, but now I want to try writing smart contracts for Hyperledger.
I have few considerations:
First one is regarding supported databases. According to their documentation (http://hyperledger-fabric.readthedocs.io/en/latest/ledger.html) they use LevelDB for storing contract data and CouchDB support is still in beta. Does anyone have any experience using CouchDB in Hyperledger?
Second, I see that Go is mostly used for the specification of smart contracts, but they have support for Java too. Is Java still in beta too, and is there support for any other programming language?
Also, what operating system do you suggest for production server running Hyperledger?
Thank you for the answers.
Is Java still in beta too, and is there support for any other
programming language?
Hyperledger V1.0 doesn't support Java Chaincode.
There will be support for it in the future.
You can ask around in https://chat.hyperledger.org/channel/fabric for ETAs.
There is also a work in progress to have node.js support.
Also, what operating system do you suggest for production server
running Hyperledger?
Ubuntu 16.04 LTS works well
Does anyone have any experience using CouchDB in Hyperledger?
Yes, CouchDB works well if your data is modeled as JSON and you would like to query the content of the data. The default goleveldb state database only supports key-based queries.
You should take a look at Hyperleger Composer that helps you create blockchain applications on Hyperledger Fabric quite easy. (It works better with Ubuntu).
It has is own Modeling Language.
Hyperledger initially was build using Go language.
the aim of the hyperledger team is to support as many languages as possible. currently the hyperledger composer( tool for developing blockchain application) supports javascript for defining the assets, transactions and chaincode.
the transactions log, state data and backed by Level DB and Couch DB
Note :
LevelDB and CouchDB are fully integrated in fabric framework,
currently you can't replace them with other database
Chaincode runs in a secured Docker container, the chaincode (aka smart-contract)can be programmed in Go,Node,Java currently Go is stable and fully supported language.
considering the operating system i have tested the fabric network running on Microsoft Azure platform where created a image of ubuntu 16.04 and installed Fabric framework.till now got no issue on it.
sorry, i am just beginner student studying fabric and . please, understand me, i do not use English well.. just i'm confused.. who is the application that was explained in http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html?highlight=node.js%20SDK for? client or just for invoking Systematically?
if the application is for invoking, any language is okay for coding client-side application?
The Writing your first application tutorial in Hyperledger Fabric's documentation is oriented to the application developer. It specifically targets a developer leveraging the Hyperledger Fabric SDK for Node.js. There are other language-specific SDKs available (e.g. Java) and others in development (Go and Python). There is also a command-line capability to interact with a Hyperledger Fabric blockchain network.
Can you explain Hyperledger for someone who already knows what blockchains are? Their website is really vague and provides minimal information, including a definition as "communities of software developers building blockchain frameworks and platforms". Wikipedia page for Hyperledger gives the impression that it's a set of modular tools that can be adapted for blockchain projects. Then again I've listened to pitches of a few Hyperledger projects and they talk about running their stuff "on" Hyperledger, like they had a distinct blockchain that multiple projects run on. But is it more like a make-your-own-blockchain toolkit?
Hyperledger is a collection of blockchain related projects. Pitches that claim they are running their stuff on Hyperledger most likely means they are using Fabric or Sawtooth, although more likely than not Fabric, to implement the blockchain they are using. Fabric is one of the Hyperledger projects that provides a permissioned blockchain implementation that adheres to the Fabric protocols which define how the network components interact. There is no single Hyperledger blockchain, just like there is no single MySQL databases.
Hyperledger is a technology initiative, not a single project. In fact, several dozen projects are currently in development under that umbrella.
If someone is contrasting Hyperledger with Ethereum, they are probably specifically talking about Hyperledger Fabric. In fact, there is actually an Ethereum node project within Hyperledger-- Hyperledger Burrow! ( You can check that out here: https://github.com/hyperledger/burrow )
So, your first careful question if you are trying to detect bullshit in this space should be to figure out if the person knows what substrate they are using-- Fabric, Burrow, or something else entirely!
Of equal value, make sure they understand that Hyperledger is not just (or even primarily) IBM!
Now, if you ARE talking about Hyperledger Fabric vs. Ethereum, probably the most important difference is to recognize that Fabric does not necessarily inform the entire network about all transactions, whereas for Ethereum this is a given. Fabric allows different chains ("sidechains"-ish) to be spun up on demand between a subset of nodes on the network. This allows, in principle, different competing businesses in an industry to peer-validate public transactions, but also to maintain private smart contracts between a limited set of entities.
More interesting is the potential to build a top-level public contract that requires the results of privately-held parts, so long as they meet certain criteria.
But the super-short version is: Fabric allows privacy; Ethereum mandates global transparency. Which approach is "better" very much depends on the application.
Hyperledger is the open-source blockchain initiative sponsored by the Linux Foundation. The phrase "Hyperledger" is a trademark of Digital Asset Holdings. There are many projects under the umbrella, but the main project contributed by IBM is the Fabric. www.hyperledger.org has more info. Hyperledger focuses on permissioned blockchain technology as compared against public blockchains like Ethereum.
Hyperledger is not a company, not a cryptocurrency. Hyperledger is rather something like a hub for open industrial blockchain development. Hyperledger does not support Bitcoin or any other cryptocurrency. But the platform is thrilled by blockchain technology.
Hyperledger does not intend to establish any kind of Hyperledger coin. Hyperledger Project is an open source, collaborative effort to create a blockchain for business-to-business (B2B) and business-to-customer (B2C) transactions.
Hyperledger blockchains are generally permissioned blockchains, which means that the parties that join the network are authenticated and authorized to participate on the network. Hyperledger does not refer to any specific technology or tool rather it refers to a project where multiple teams are collaborating to develop open source and distributed ledger technology (DLT).