010-68421378
sales@cogitosoft.com
Your location:Home>News Center >New release

Third-Generation Blockchain Functionality with Tezos and the Wolfram Language

发布时间:2021/04/12 浏览量:555
Third-Generation Blockchain Functionality with Tezos and the Wolfram Language

Third-Generation Blockchain Functionality with Tezos and the Wolfram Language

 

 

As CEO of Wolfram Blockchain Labs (WBL), I think one of the most exciting parts of my job is collaborating with other leaders in the blockchain space to expand tools for developers and business use cases. For several years now, we’ve been adding a steady stream of blockchain functionality into the Wolfram Language to enable development of knowledge-based distributed applications and computational contracts. You may have noticed the growing number of popular blockchains (ARK, Bitcoin, bloxberg, Cardano, Ethereum, MultiChain…) partnering with us and integrating into our platform. It’s already led to some cool explorations, and we have a lot more in the pipeline.

 

Today, WBL is happy to announce its latest such collaboration, a partnership with TQ Tezos. That includes Tezos blockchain integration in the Wolfram Language, which is great news for smart contract developers and enthusiasts. But that’s just the beginning. Our long-term plans include a lot of big ideas that we think everyone will be excited about!

 

Complementary Collaboration

A Tezos-Wolfram partnership made sense from the start. We’ve worked to build up Wolfram Language support for third-generation blockchains, making Tezos integration an easy and intuitive part of our system. WBL has long had a particular focus on enabling smart contracts, and WBL and TQ Tezos have developed an oracle to provide Wolfram|Alpha data to Tezos smart contract developers.

 

One of the most exciting aspects of Tezos is its friendliness to formal verification. TQ Tezos has used the Mi-Cho-Coq framework to create a high degree of assurance that the oracle contract exhibits the same, predictable behavior every time it is called.

 

We also share the broader goal of democratizing technology. Tezos uniquely uses on-chain mechanisms for governance, which means that the people running nodes are the ones making decisions. Anyone interacting with the blockchain gets a vote—like citizens in a worldwide digital community. Wolfram has a history of making knowledge and computation widely available with Wolfram|Alpha, the Wolfram Cloud and the Wolfram Resource System.

 

The Foundation: Blockchain Integration

So, what could someone do right now with Wolfram Language access to the Tezos blockchain? To start, you can use BlockchainBlockData to retrieve data from Tezos (in this case, the most recent entry block):

 

 

To specify an address on the blockchain, use BlockchainKeyEncode with a generated PrivateKey (which uses the elliptic curves used in the Tezos ecosystem):

 

 

Given this address, BlockchainAddressData will provide a range of information:

 

 

Here’s the current balance at that address:

 

You can also create smart contracts to put your own data on the Tezos blockchain. To achieve that, you’d start by creating a transaction operation with BlockchainTransaction:

 

 

Then you can sign the operation by passing the BlockchainTransaction object and the appropriate PrivateKey to BlockchainTransactionSign:

 

 

Finally, the contract is submitted to the blockchain using BlockchainTransactionSubmit:

 

 

And with just a few simple lines of code, you’ve deployed a smart contract to the Tezos ecosystem. Once the transaction operation is on the blockchain (which can sometimes take a few minutes), you can verify that the balance has been updated:

 

 

The total transaction amount is equal to the 100 mutez payment plus a 76,232 mutez fee:

 

 

The details of the fees can be inspected by using BlockchainTransactionData and passing the transaction ID of the submitted BlockchainTransaction:

 

 

This powerful simplicity is a core advantage of any Wolfram Language integration: you don’t have to be a developer to get serious work done.

 

More in the Works

The ultimate result will be an expansive toolkit that makes Tezos development available to everyone, regardless of programming skill. We have plans to extend these capabilities in several key areas within the Tezos ecosystem: analytics, computational facts delivery and blockchain educational information. WBL is also exploring how we might begin to bake on Tezos, our first tentative foray into how staking works on a blockchain network.

 

This and our other blockchain partnerships help move WBL toward the larger goal of bringing computational reform to the financial industry: smart contracts, symbolic data and smart reporting. We’re always looking for more ways to expand what we are doing with blockchains and other decentralized technologies. Keep an eye out for our next big announcement!

下一篇:NEVRON CHART FOR .NET:行业领先的制图和测量组件
上一篇:Altova DiffDog:独特的可识别XML的比较差异/合并工具

© Copyright 2000-2023  COGITO SOFTWARE CO.,LTD. All rights reserved