Blockchain and Cryptocurrencies

The Wolfram Language is your passport to the world of blockchain and cryptocurrencies.

Blockchain

Blockchain

The Wolfram Language has built-in capabilities for interacting with blockchains. It can both retrieve detailed information from Bitcoin, Ethereum and other blockchains and construct and submit transactions to blockchains.

Get information about a transaction from the Bitcoin blockchain:

In[•]:=
Out[•]=

Find the top five holders of a Tezos token:

In[•]:=
Out[•]=

Get information about a transaction from the Ethereum blockchain:

In[•]:=
Out[•]=

Cryptocurrencies

Analysis and Visualization

In addition to retrieving blockchain data, the Wolfram Language allows you to easily access financial data, including cryptocurrency prices.

Plot the price of Bitcoin over a period of time:

In[•]:=
Out[•]=

You can also execute some kinds of transactions, like sending Ether.

1. Check current sender balance:

Use BlockchainAddressData to check your balance and transaction count.

In[•]:=
Out[•]=

2. Create the transaction object:

Use BlockchainTransaction to build the transaction object using the preceding transaction count.

In[•]:=
Out[•]=

The transaction exists locally until it is submitted to the Ethereum blockchain.

3. Sign the transaction:

Use BlockchainTransactionSign to sign the transaction with the private key.

In[•]:=
Out[•]=

4. Submit the transaction:

Use BlockchainTransactionSubmit to send the transaction to the blockchain.

In[•]:=
Out[•]=

After the transaction is submitted, you must wait for it to be included in a block. The block can then be mined and added to the blockchain.

Get Started

Learning Resources

Learning Paths

Learn how to interact with blockchains

If you want to start interacting with blockchains using Wolfram Language, this class will show you the latest features for reading and writing data to blockchains.

Go to the class now! Includes sample notebook
Explore blockchain functionalities in our study group sessions

This series introduces you to blockchain and covers cryptography, governance and bridges and ends expanding on “the oracle problem.”

Go to the study group series! About 5 hours for completion
Go to the class now! Includes sample notebook
Go to the study group series! About 5 hours for completion

Recommended Product

Consulting Services

Go Further with Blockchain

Let us help you build your blockchain project

Wolfram Blockchain Labs can help make your project a reality. Our powerful codebase, extensive data and R&D expertise have been used by ARK, Cardano, IPFS, Filecoin and more for:

  • DLT ecosystem tools
  • Consulting on decentralized projects
  • Blockchain analytics
Learn more