## 3 Proposed Method
In this architecture, the IoT area has a conforming edge gateway that becomes a peer node in the blockchain network and communicates with the cloud via WiFi. If certain conditions are met, the gateway node will also act as an orderer node in the consensus process. Due to our design, IoT devices do not join the blockchain network as peer nodes. Instead, they connect to their domain's edge gateway and exchange access control data with it via the lightweight MQTT protocol. Edge gateways can connect to the WiFi network and communicate with the cloud in milliseconds, thanks to the WiFi base station, which connects the edge and the cloud. For example, the industrial edge gateway can swiftly and securely access storage resources in the industrial cloud and provide essential data for remote monitoring. The manager could modify the access control policy in our platform using the chain code and send it to the blockchain. A collection of subject-object access permissions is represented by every policy. The explicit content of the access control policy is kept in the state database, and transaction details are recorded in the ledger. As a result, the access control policy may be audited and traced. For behavior-gathering and credit computation, the edge gateway will initially use MQTT to regularly gather behavior information from IoT devices inside its area. The gateway subsequently standardizes the data before writing it to \begin{table}
\begin{tabular}{c c} \hline \hline
**Symbol** & **Description** \\ \hline
**d** & Distance between 2 triangular functions \\ \hline
**x and y** & Triangular functions \\ \hline
**w** & Weight of the criteria \\ \hline
**R** = [\(\mathbf{r_{ij}}\)] & Fuzzy normalized decision matrix for ith alternative and jth criterion \\ \hline
**V** & Fuzzy weighted normalized decision matrix \\ \hline \(A^{*}\) & Fuzzy Positive Ideal Solution (FPIs) \\ \hline \(A^{*}\) & Fuzzy Negative Ideal Solution (FNIS) \\ \hline \(d_{i}^{*}\) & Distance of every option from the FPIs \\ \hline \(d_{i}^{*}\) & Distance of each alternative from the FNIS \\ \hline \(CC_{i}\) & closeness coefficient for each option \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Notations list. Figure 1: The proposed Blockchain-enabled IoT System’s architecture. the blockchain to record its behavior. Finally, the gateway frequently checks the domain credit value, guiding dynamic node selection in the following consensus procedure. The handler could seek access permission for obtaining resources using chain code for user authorization. The chain code will verify access control restrictions once the user submits a request. The chain code will return the access authorization if the access request satisfies the policy's properties. The user might then utilize the edge gateway to connect to IoT nodes. Algorithm 1, used to determine the rank using a fuzzy-based hybrid MCDM approach, is as follows: \begin{tabular}{l l} \hline \hline
**Algorithm 1.** Proposed method \\ \hline _Step 0_ & Determine the measures (INFBS, INRE, and INDE) and options (27) for the analysis. \\ _Step 1_ & Accept inputs or assignment ratings for three criteria and alternatives from the user \\ _Step 2_ & Formulate criteria and alternatives decision matrix showcasing the magnitudes of \\ _Step 3_ & Formulate the 'fuzzy normalized decision matrix' for the benefit and cost criteria \\ _Step 4_ & Develop the 'fuzzy weighted normalized matrix' using step 4 of the methodology, \\ _Step 5_ & Compute the FPIS and FNIS using Equations (5) and (6), respectively. \\ _Step 6_ & Determine the distance from every option to the FPIS and FNIS employing \\ _Step 7_ & Equations (7) and (8), respectively. \\ _Step 8_ & Determine the rank of alternatives based on the magnitude of the Cci. \\ _Step 9_ & Check if other options with high positions are feasible. If 'No' GOTO Step 3. If 'Yes' \\ _Step 10_ & Print-Optimal node selection as output \\ \hline _Step 11_ & STOP \\ \hline \hline \end{tabular}   
On Hyperledger Fabric, the chain code may be thought of as a smart contract.