0.0.8 • Published 1 year ago

xplor v0.0.8

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

xplor SUITE

The xplor Suite is an Open Source Suite for Enterprise Blockchain Networks created and maintained by Xlera. It is composed of a group of Development tools for Hyperledger Fabric and aims to be an agnostic toolset.

Xlera is an enterprise development platform for private blockchain systems. Creators of the open source suite xplor, as well as the enterprise offering Forma, the blockchain infrastructure automation platform with multi-cloud capabilities.

The xplor Suite is targeted at beginners and experts alike. For newcomers to the blockchain world is the easiest and fastest way to create great code. For experts it's the means to efficiently create scalable and secure code. The xplor Suite follows modern coding paradigms and was built from the ground up to run in multiple ledger technologies.

The xplor Suite main components are:

  • xplor Smart Contracts - JavaScript-based Development Framework for Enterprise Smart Contract Systems
  • Hurley - the easiest way to quickly setup your Hyperledger development environment. Instead of learning all the config files required and navigating tons of yaml files, just do hurl new and focus on your smart contract.
  • xplor CLI - the fastest and easiest way to build a new xplor Smart Contracts project. It is fully integrated with Hurley as well.
  • xplor REST Server - a RESTful API generator from a xplor smart contract. One command and you can expose your smart contract to the world.

Some key links:

Have doubts, want to collaborate or just meet other xplor devs around the world? Join the Discord (Chat) Community

What is xplor Smart Contracts?

Issues Newsletter npm Discord

TypeScript License lerna

xplor is a JavaScript-based Development Framework for Enterprise Smart Contract Systems. Its goal is to make it easier for developers to create, test and deploy enterprise-grade blockchain-based systems by abstracting complexities that make it hard to get started, plus a collection of tools that speed up your go-to-market.

For now, we only support Hyperledger Fabric, so this documentation is for using xplor Smart Contracts on Hyperledger Fabric.

Model/Controller pattern. xplor is designed to help you write reusable pieces of code that describe the nature of what a developer can do in a blockchain. A blockchain, in the developer’s eyes, is no more than a data layer protected by a logic layer defining the rules of what the outside world can do in with the inner data. Thus, a really comfortable way of writing chaincode logic (smart contracts) is by having Models describing the shape of the data and Controllers describing the actions and rules that apply to the models.

Create your first blockchain project

Make sure you meet the pre-requisites.

npm i -g @xlera/xplor-cli
conv new car
cd car
npm install

# Start your local blockchain network
npm run env:restart

# Install the smart contract
npm run cc:start -- car

# Send your first transaction to the blockchain - Wait a few seconds!
hurl invoke car car_create '{"id":"car1","name":"jetta", "created":1,"modified":1}'

# See your new record created in the blockchain by visiting: http://localhost:5084/_utils/#database/ch1_car/_all_docs

Then, you can visit the official Docs Site, automatically add a REST API, or build it and deploy it to an enterprise blockchain network.

Assumptions

This documentation assumes that you are familiar with JavaScript, TypeScript, and Hyperledger Fabric (at least the basics!).

Are you looking for an option to Hyperledger Composer?

Yes, we are also aware that Composer's development has experienced some changes and a lot of people are facing uncertainty. If you are one of the devs looking for a way to create smart contract systems with native chaincodes in JavaScript, you are in the right place. You may find this resource valuable on how to Migrate from Composer to xplor.

Support

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.1

1 year ago

0.0.4

1 year ago