January 25, 2026

Capitalizations Index – B ∞/21M

Implementing Asset Ownership Without Tokens – Alberto Cuesta Cañada –

Implementing Asset Ownership Without Tokens – Alberto Cuesta Cañada –

The ERC721 standard is not the only way to tokenize assets in a blockchain.

Photo by ELEVATE from Pexels

The only constant in the technology industry is change. — Marc Benioff

Introduction

There is the general idea that to represent assets in a blockchain you should use the ERC721 token. As Chief Architect for TechHQ I’ve designed a number of solutions where physical assets are represented in a blockchain, and I’ve found that in a supply chain scenario the ERC721 is not great.

A Directed Acyclic Graph allows to allows to track the asset lifecycle more naturally, and in a previous article we described in detail how to implement it.

In a nutshell each asset is represented by a series of states with each state recording an event in the life of the asset. States can point to past states and states can’t be modified once created.

Supply Chain as a Directed Acyclic Graph

As a result of ditching the ERC721 token we have to come up with a way to represent asset ownership and transfer.

If you think about it, the transfer and transferFrom methods from any ERC token are a form of access control. A transfer call is just an update on the data structures that record token ownership, which only a specific user can execute. A transferFrom call is a delegation of permissions to do the same.

We will have to implement something equivalent to transfer, but for nodes in a graph. We will have to code access controls for appending data to our graph structure.

To represent asset ownership and transfer without a token we are deconstructing and then rebuilding one of the core features of the ethereum ecosystem. Please follow me into the rabbit hole.

Conceptual Solution

In our supply chain as a graph each asset is represented as a series of states linked between them. As that asset goes through its lifecycle we append more states, signifying events such as transformation, composition, destruction, and so on.

Only the owner of an asset should be able to append new states to its lifecycle. It should be possible the owner to give this right to others for as long as he wishes. He should also be able to lose the right of appending states to an asset in favour of someone else.

This restriction on appending states represents ownership of each asset. Ownership of an asset is controlling access to it.

A real world scenario can help to visualise our use case more clearly.

  • Let’s say I own a manufacturing plant that receives materials, transforms them into gadgets, and sells them to a distributor.
  • As the materials arrive into my plant I am given ownership of them which I delegate into my plant operators.
  • My operators transform the materials into gadgets recording the steps in the supply chain graph.
  • I will then hand over the gadgets to the distributor along with the permission to append states to them.

We are going now to implement these features using the Role Based Access Control library which we published recently and was featured in the front page of this medium.

Implementation

Using access control to represent asset ownership on a supply chain

In the original implementation of a supply chain as a graph we recorded three data items for each state.

  • The account that created the state;
  • the asset that the state refers to
  • and the precedent states.

For the implementation of the ownership concept I’m going to add two variables in each state:

  • The owner role who can create new assets and hand them over to other users
  • and an operator role who can add new states to an asset without changes in ownership.

I’m also going to use three new functions to add states to the supply chain graph for our three new use cases:

  • Creating a new asset by adding a state with no precedents;
  • appending new states to an existing asset, with respect for ownership
  • and handing over the control of an asset to a different account.

The insiġ repository has a fully featured version of this code. For the sake of simplicity I’ve removed in this article the capability of having multiple precedents for each state.

contract SupplyChain is RBAC 
    State[] public states;
    mapping(uint256 => uint256) public lastStates;
    uint256 public totalItems;
    function isOperator(
address _address,
uint256 _item
)
public
view
returns(uint256)
    function isOwner(
address _address,
uint256 _item
)
public
view
returns(uint256)
    function createAsset
(
uint256 _operatorRole,
uint256 _ownerRole
)
public

function addState
(
uint256 _item
)
public
    function handoverAsset
(
uint256 _action,
uint256 _item,
uint256 _operatorRole,
uint256 _ownerRole
)
public

}

Conclusion

In this article we have shown how to implement asset ownership for a supply chain. We have deconstructed the purpose of the ERC721 methods to show that in reality asset ownership is a form of access control.

In the implementation we represent asset ownership by controlling who can append new states to a specific asset. To represent asset transfer the owner changes the permissions in the last state of an asset.

This article and implementation is part of a new solution for the manufacturing supply chain. We are disrupting what we know about what we consume and unlocking a massive amount of investment capital currently tied to physical assets.

There is more to follow. In future articles we will show to to represent the merging and splitting of assets and how to tokenize assets in the described supply chain.

Published at Mon, 27 May 2019 06:06:15 +0000

Previous Article

Bitcoin (BTC) Price Rallies 10%: Bulls Remain In Driver’s Seat

Next Article

Brave Browser Allows Crypto Tipping on Twitter, YouTube, and Twitch

You might be interested in …

Ukraine Sees Bitcoin Investments Up 500% in 12 Months

Ukraine’s bitcoin investment figures have shot up 500% in a single year, according to bitcoin Ukraine founder Andrey Dubetskiy.


Dubetskiy: Growth Reasons ‘Same Throughout The World’

The figures, which Dubetskiy revealed in comments to local news resource Payspace, represent growth from 500,000 hryvnia ($18,400) to 2.5 million ($92,000) hryvnia per week through 2016.

“The reasons behind the growth are the same as those throughout the world,” he told the publication.

Specifically, distrust of national currencies, an unstable economy, asset movement restrictions, the shadow economy, little choice and regulation of financial instruments, demand for digital and global financial instruments, growth potential for bitcoin’s price as an investment and many others.

Ukraine has become an active participant in both Blockchain studies and bitcoin as a consumer asset.

Despite its recent turbulent political and economic history, cryptocurrency usage has been fostered – or at least left untouched by premature regulation – and continues to serve as an investment alternative to the hryvnia, which since 2014 has lost two thirds of its value.

LocalBitcoins Ukraine volume up

Localbitcoins volumes in Ukraine have also seen their best times ever in recent months, with weekly trading edging towards new highs each week.

“Considering the general upward trend in bitcoin’s exchange rate, the majority of customers are buying in order to profit from speculative operations, while some investors transfer a part of their assets to bitcoin,” Mikhael Chobanyan, CEO of local exchange Kuna.io, added.

Weak Economy + Bank Crisis = Blockchain

In a bid to bail out its creaking economic infrastructure, Ukraine was forced to nationalize main lender Privatbank last December amid concerns “panic” would arise if things were left as is.

“Other banks would not be getting their loans back from PrivatBank, a series of bankruptcies would begin, and there would be panic,” Oleksandr Savchenko, head of Kyiv’s International Institute of Business, commented on the situation prior to the move being finalized.

On the Blockchain front meanwhile, a scheme involving the Central Bank to introduce the technology to governmental processes appears to be gaining momentum.

Q3 last year saw publication of a roadmap from the National Bank of Ukraine for its Cashless Economy scheme, which set out ways and deadlines for use of Blockchain in cases such as payments.

“The [National Bank of Ukraine (NBU)] Board has approved and presented a roadmap for Cashless Economy, which will use Blockchain technology in Ukraine for the first time,” spokesman Konstantin Yarmolenko wrote on Facebook at the time in a post subsequently removed.

Elsewhere, Ukraine was the first country in the world to launch sanctioned bitcoin futures trading on its national exchange. Investor interest was also given as the main motivation for the move, which authorities announced in the midst of the Privatbank debacle.

What do you think about Ukraine’s bitcoin growth? Are you there and seeing changes? Let us know in the comments below!


Images courtesy of Coin Dance, Shutterstock

The post Ukraine Sees Bitcoin Investments Up 500% in 12 Months appeared first on Bitcoinist.com.