On-Chain Infrastructure

Smart Contracts

Falah OS deploys three immutable on-chain contracts for halal certification, producer verification, and marketplace listing. All contracts are open-source, audited, and live on Mock-Net.

Mock-Net · localhost:8545 · Chain ID 31337

Deployed Contracts

Three Contracts. One Halal Stack.

01 / HCT
HalalCertificationToken
ERC-5114 · Soulbound

Issued by JAKIM or BPJPH to certify a business entity as halal-compliant. Non-transferable by design — bound to the issuing authority's attestation. Serves as the root-of-trust for all downstream tokens.

Contract Address
0x5FbDB2315678afccb333F6871dB2545231e4F41d
Network Mock-Net · localhost:8545
Issuer JAKIM / BPJPH
Soulbound ERC-5114 Certification Non-Transferable
02 / HPT
HalalProducerToken
ERC-5114 · Soulbound

Binds a manufacturing facility or producer to their halal certification. Soulbound to the producer wallet — revocable by the issuing authority. Required before any product listing can be minted.

Contract Address
0x2279B7A0a67DB372996a5e00696c6ab7d8497eaa
Network Mock-Net · localhost:8545
Requires Valid HCT
Soulbound ERC-5114 Producer Revocable
03 / HLT
HalalListingToken
ERC-1155 · Transferable

Tokenizes a product listing on the Falah iStore marketplace. Transferable — enables secondary market trading of halal-verified product slots. Each token is linked to an active HPT, ensuring supply-chain integrity.

Contract Address
0x8e3a2a06f37a4F3f7e9d9e6f6b4a3b6a5c1d2e3f
Network Mock-Net · localhost:8545
Requires Valid HPT
Transferable ERC-1155 Marketplace iStore

Contract Interfaces

All ABI definitions are published in the open-source falah-contracts repository. Use them to integrate directly with the on-chain contracts from any Ethers.js, Viem, or Web3.js application.

HCT HalalCertificationToken.json
View ABI →
HPT HalalProducerToken.json
View ABI →
HLT HalalListingToken.json
View ABI →

Source Code

Open Source

falah-contracts

Solidity source code, Hardhat configuration, full test suite, deployment scripts, and ABI exports. All audited for Shariah compliance.

github.com/maifors/falah-contracts