4thtech solutions


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


Technology in context

4thtech MVP technical specifications; (1) blockchain deployment: Ethereum, SI-Chain (i.e. Private Hashnet Chain); (2) blockchain gateway: FOURwaL (i.e. 4thtech Google Chrome add-on wallet); (3) transaction payment: FOUR (i.e. ERC20 token); (4) programming languages: JS (TypeScript) for frontend, PHP for web services, Solidity and JavaScript for smart contracts, and, Scaling: Docker container technology; (6) digital certificate compatibility: X.509 STANDARD compatible


In the case of technical 4thtech solutions interoperability, the challenge is how to interact between different DLTs and be compatible with-in the Multi-DLT systems. The easiest solution would be to adopt the single DLT standard, as this would be the quickest solution. As the world and the technology are not there yet, the challenges of 4thtech interoperability between multi DLT systems stand. 

The 4thtech solutions natively work on Ethereum blockchain and its fork versions. The 4thtech uses hosted Ethereum node on Infura over JSON-RPC protocol, to connect to the Ethereum node.

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. Powered by HashNet technology which employs DLT and consensus algorithm that keeps all positive characteristics of blockchain technology while increasing throughput to more than 50,000 transactions per second, what gives us the significant advantage. In the case of SI-Chain, 4thtech uses gRPC (i.e. universal RPC framework) to connect to Si-Chain node. 

New 4thtech solution deployments will follow according to product development plan.


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;

FOURwaL (i.e. Google chrome extension wallet)

The FOURwaL 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 FOURwaL is fully operational and, also offers a secure identity vault, providing a user interface to manage digital identities and sign blockchain eDelivery transactions and document notarisations. FOURwaL 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”: “https://the4thpillar.com/file2”, “name”: “File 2”, ],} “description”: “Description 2” } “return-url”: “https://sender-erp-return-url.com/returnHere”


After two years of use-cases MVP (i.e. minimum viable product) testing, the technical feasibility and its practical potential have been proven, with that PoC (i.e. proof of concept) was confirmed. With further development, 4thtech solutions will be merged into a cross-platform desktop and mobile client (i.e. Windows, Mac OS, Linux, Android, iOS) and provide the technology for further wider adoption compatible and in line with European Blockchain services infrastructure and usable or extendable globally.

The development of 4thtech blockchain eDelivery 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: https://www.the4thpillar.io/documents/4thpillar-technologies-desktop-mobile-client.pdf

Development & IP

4THTECH Consortium, PIC: 894719562/Open tenders: 2020 CEF Telecom Call – eDelivery (CEF-TC-2020-1) 


© 2020 4THTECH Consortium, all rights reserved. The 4thPillar trademark is registered under the number 017683285 with the European Union Intellectual Property Office.