/**Read about the 4thtech code, technology, components, the innovation and

“We build the 4THTECH ADD-ON from the ground-up. The challenge was to build the ADD-ON with unique blockchain document exchange feature and it took four engineers over a year to do it. I can say with certainty that the 4THTECH ADD-ON code is unique and first of its kind!”

Denis Jazbec, 4ThTech cto


Technology in context

4thtech main technology components are; (1) blockchain with Solidity applications; (2) Laravel-PHP web framework; (3) smart contracts; (4) digital wallets; (5) decentralised database; (6) four-token: (7) 4thtech add-on, and; (8) the central platform with encryption service and API interface.


As different blockchains are built to serve specific purpose and industry, an option of choice is a must. The 4thtech products natively work on Ethereum blockchain and its fork versions. According to What is Ethereum? |, n.d. , the Ethereum community is the largest and most active blockchain community in the world. It includes core protocol developers, crypto-economic researchers, mining organizations, ETH holders, app developers, ordinary users, fortune 500 companies, and, as of 2018 also 4thtech products.

The second 4thtech product implementation is on the Slovenian National Blockchain Testing Infrastructure called SI-Chain, which enables testing of existing and new blockchain applications for the public and private sector. SI-Chain was established by the innovative technology provider company Hashnet in cooperation with Telemach, the telecommunication solutions provider, in November 2019 (Slovenia launches national test blockchain infrastructure and Slovenian Blockchain partnership | GOV.SI, n.d.). HashNet is an innovative consensus platform which provides a novel solution to computational and communicational difficulties of maintaining large-size public distributed ledgers. (Tolar - Next-gen cryptocurrency, n.d.)

New blockchain eDelivery protocol (i.e. FOURdx) implementations will follow according to product development and recognition.


Smart contacts are currently used to exchange and manage specific transactions; (1) sender wallet address; (2) sender name and description; (3) electronic data or document type; (4) electronic data or document link, and; (5) electronic data or document delivery data. Towards protocol scaling and update, new upgraded smart contact is to be developed, that could store and manage the following; (1) sender wallet address; (2) metadata link; (3) metadata hash (i.e. SHA-256), and; (4) document delivery data.

4THTECH is tested on KOVAN network and implemented on ETHEREUM main net. Designed and build from the ground-up in SOLIDITY the product is fully operational, compatible and ready for implementations.


On-boarding process also represents a bridge between organisations and individuals. In that way, it presents essential platform for future digital transformation. 

The on-boarding process starts with the login and creating a digital wallet for which a user needs a browser with a web3 provider (i.e. 4THTECH add-on). Upon signing, the user is given a private key, which is unique and only known to him. Once the private key is generated, the user is able to sign the message which sent a request via the AJAX to the server side platform (i.e.LARAVEL) to validate it. Once the signature is confirmed, the user is logged in.

Return the ETH address of the account that created the signature (user validation)

protected function validateSignature(Request $request) { $msg = config(‘app.sign_message’); protected function recoverSignerAddress($msg, $signed) { // ETH Message Hash $prefix = “\x19Ethereum Signed Message:\n” . strlen($msg); $personalMessageSha = Keccak::hash($prefix . $msg, 256); // Get r, s, v parameters from signature ... // Check if is correct v value, it should be 27 or 28 ... // Recover public key ... $publicKey = Signature::recoverPublicKey($rGmp, $sGmp, $msgGmp, $recovery); $publicKeyString = $publicKey[‘x’] . $publicKey[‘y’]; // Recover ETH address from public key $recoveredAddressSha = Keccak::hash(pack(‘H*’, $publicKeyString), 256); $recoveredAddress = substr($recoveredAddressSha, -40); } return ‘0x’ . $recoveredAddress;

4THTECH chrome ADD-ON innovation

The 4thtech add-on is a Google Chrome Extension wallet, that allows you to visit the distributed web of tomorrow in your browser today. It is one of our main innovations, a first system on the market capable of handling not only digital assets but also other assets such as links to encrypted electronic data and documents.

Designed and build from the ground-up, the 4thtech add-on is fully operational and, also offers a secure identity vault, providing a user interface to manage digital identities and sign blockchain eDelivery transactions. 4thtech add-on can be comparable to a bank account, as it contains a pair of public and private cryptographic keys. A public key allows for other wallets to execute eDelivery to the desired wallet’s address, whereas a private key enables the decryption of electronic data and documents from that address.

Steps for installation; (1) follow on the link bellow; (2) add extension to chrome browser; (3) now you have installed extension, you can see icon on the right side; (3) click on that icon and setup your wallet; (4) refresh page and login.

4thpillar technologies does not hold your keys for you. We cannot access accounts, recover keys, reset passwords, nor reverse transactions. Protect your keys & always check that you are on correct URL. You are responsible for your security.


The FOUR has been created as a 100% utility-token, an atomic unit and technical component, combining three unique main features; (1) embedded TTS interface (i.e. token teleportation-service); (2) MTO (i.e. multiple-transfer option), and; (3) main value and transaction “gas” in a decentralized, token-based 4thtech ecosystem.

Embedded TTS interface (i.e. token teleportation-service), enables Ethereum accounts with the ability to transfer the ERC-20 tokens without having to pay for the Ethereum network transaction fees in ETH. Instead, the account pays for token transfer fees in the native FOUR.

MTO (i.e. multiple-transfer option) is a settlement service that conserves blockchain network transactions and bundles signed multiple transactions together and settles them on the blockchain (i.e. as one transaction). Once the transaction has been settled, the transaction is concluded. The bundling of transactions enables 4thtech platform to scale as the overall number of transactions generated on the designated blockchain network is kept at a minimum.

Token name: 4THPILLAR UTILITY TOKEN • Token symbol: FOUR • Blockchain: Ethereum • Maximum number of FOUR tokens issued: 400,000,000 (100%) • Decimals: 18 • Smart contact: 0x4730fb1463a6f1f44aeb45f6c5c422427f37f4d0 • Unique features: teleportation service, multiple-transfer option, transaction gas • Listing: Bilaxy, IDEX, Uniswap, Hotbit, Cointiger • Token standard: ERC-20 (latest Open Zeppelin implementation)


Document encryption is the process by which electronic data and documents are protected with a cryptographic key (i.e. public key) so that only individuals with the corresponding decryption key (i.e. private key) can read them.

When a user (i.e. an individual or an organization) wants to send electronic data or document, he or she must first select the file and encrypt it with the user’s public key stored in a database of registered users.

JavaScript code for document encryption.

const key = new NodeRSA(); reader.readAsArrayBuffer(input.files[0]); let fileData = Buffer.from(reader.result); let encrypted = key.encrypt(fileData, ‘base64’);


An application programming interface (i.e. API) is a set of subroutine definitions, protocols, and tools for building software. In general terms, it is a set of clearly defined methods of communication between various components.

The blockchain eDelivery protocol (i.e. FOURdx) API enables an easy way of integrating other systems with our infrastructure. It connects the user wallet and document repository in the process of saving and sending the encrypted electronic data and documents.

Example of using JSON for saving electronic data or documents.

{ “data”: [ { “id”: “D-1534156605-1”, “wallet”: “0x279fa0585a16016db5a82889ca9e493f543e7792”, “link”: “”, “name”: “File 2”, ],} “description”: “Description 2” } “return-url”: “”


After two years of blockchain eDelivery protocol (i.e. FOURdx) MVP testing, the technical feasibility and its practical potential have been proven, with that PoC (i.e. proof of concept) was confirmed. As the European Union is embracing the benefits of blockchain technology, now is the time for furthered development of blockchain eDelivery protocol (i.e. FOURdx) in the form of cross-platform client.

The development of blockchain eDelivery (i.e. FOURdx) cross-platform (i.e. Windows, Mac OS, Linux, Android, iOS) desktop and mobile client is specified in the blockchain e-delivery cross-platform client proposal technical paper: