<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Blockchain technology: Contribution to improved transaction management</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mor Diop</string-name>
          <email>Mor.diop@u-bordeaux.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Saïd Tazi</string-name>
          <email>said.tazi@univ-pau.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yves Ducq</string-name>
          <email>yves.ducq@u-bordeaux.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Univ. Bordeaux</institution>
          ,
          <addr-line>CNRS, IMS UMR 5218, 351 cours de la libération, Bordeaux</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Pau &amp; Pays de l'Adour, LIUPPA</institution>
          ,
          <addr-line>1 Allée du Parc Montaury, Anglet</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Blockchain holds great promise, and experimentation with it continues to grow. Transactions are the operations of reading and writing to add or read information within this technology. With the advent of smart contracts, the possibility of accessing blockchain technology via any client application has become a reality. However, blockchain is notoriously slow to respond, depending on the number of transactions, checks and workload required. Added to this are the problems associated with the operation of the existing system. In this paper, we propose a Transaction Management Framework for a blockchain solution, as well as a decision-making aid to help you make the most of this technology.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Blockchain</kwd>
        <kwd>Framework</kwd>
        <kwd>Decision aid</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In our hyper-connected world, data reigns supreme. Indeed, sources of information have
multiplied. This information varies according to environment, context and type of process. It is
produced in large quantities on a daily basis through processes, and is in part a key to success. From
another angle, thanks to the advent of new technologies over the last few years, we are contributing
enormously to the increase in the amount of information, or in this case data. This situation is
prompting large organizations to take a close interest in the data they produce, and in securing the
processes adopted during operations. As an innovative technology, blockchain is attracting the
attention of researchers and large organizations alike. Despite its potential, blockchain faces a number
of challenges: long response times leading to excessive energy consumption, an immaturity that limits
many blockchain projects to the experimental phase [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1,2,3</xref>
        ], and problems linked to the functioning
of the existing system. Since its appearance in 2008 to support bitcoin-related transactions, even
though the blockchain is experiencing growing success and attracting investors who seek to
experiment with it in various domains (such as in the case of the supply chain) in order to achieve
better performance, experiences have shown that implementing a blockchain project is far from being
a simple traditional project. Research has shown that 85% of blockchain projects in the Netherlands
stagnate in their testing phase. In their article, [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] state that "project management in blockchain
technology will be different from managing other projects, as these types of projects will require a
greater capacity to adapt and a lot of preparation to handle the unexpected."
      </p>
      <p>This contribution focuses on a Transaction Management Framework for a blockchain solution to
improve the user experience. In the same perspective, some decision support points will be proposed
to facilitate decision-making during a blockchain project. First, we will address the state of the art to
identify the different works done at this level. The second part will focus on our contribution with
the modeling of our Framework and the proposal of decision support.</p>
    </sec>
    <sec id="sec-2">
      <title>2. State of art</title>
      <p>
        Initially, the main aim of blockchain was to ensure exchange between parties without the
intervention of a third party to ensure that the established rules were followed. In addition, the
decentralization of information is also an important factor in the design of blockchain. Based on
research, most authors focus on the contributions of blockchain in different fields, but fewer on the
costs of implementing it, let alone on areas for improvement [
        <xref ref-type="bibr" rid="ref3 ref5 ref6 ref7">3,5,6,7</xref>
        ]. The survey carried out in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
revealed that 45% of the risk of failure was linked to a lack of expertise. The waiting time for an
operation has fallen considerably as a result of demands and technological developments. This
waiting time has increased again with blockchain, due to the numerous controls and consensus
algorithms [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The POW (proof of work) consensus algorithm used by certain types of blockchain
(public blockchains) is the main factor behind the very high latency times with its following
cryptographic function [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>(, , ()!, ) &lt; 
(1)
B= Block to be mined
IM= Miner identification
hash(n)!# = hash of previous block
C = Fixed complexity</p>
      <p>
        This calculation is repeated as many times as necessary until the function is verified [
        <xref ref-type="bibr" rid="ref10 ref11 ref9">9,10,11</xref>
        ]. We
can observe that, through this control mechanism, blockchain technology uses a lot of energy to
ensure security controls [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Finally, blockchain is used to ensure the security and transparency of
transactions between different stakeholders. To achieve this, a control mechanism is used to collect,
verify and validate transactions. However, several studies have shown that this mechanism requires
significant energy consumption [
        <xref ref-type="bibr" rid="ref13 ref14 ref15 ref16">13,14,15,16</xref>
        ], which is a key challenge. As a solution to this problem,
[17] has carried out a comparison that illustrates the difference in latency between the continuous
execution of transactions and their grouping into data blocks prior to processing. According to the
authors, dispensing with the need to group transactions into data blocks would significantly reduce
latency during operations. Table 1 summarizes a number of challenges identified by authors.
The information in the table shows that there are many challenges ahead. With this in mind, we've
decided to focus on one case: transaction management. This management will ensure good
ergonomics and reduce latency during operations. In the following sections, we will focus on this
aspect and make our contribution by proposing a Framework.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Contribution</title>
    </sec>
    <sec id="sec-4">
      <title>3.1. Framework</title>
      <p>Our contribution is based on the use of middleware to control and manage transactions (see figure
1). Initially, the client calls a service according to its needs via a client application. This REST call will
be retrieved by the middleware, which will control the user's permissions in relation to the accesses
defined for him. This method enables access and authorization controls to be performed directly in
the middleware. This will allow only transactions authorized to be executed to be sorted. All validated
transactions will be stored in a database and will be executed on the blockchain according to the
policies defined and the availability of Smart Contracts. The use of middleware is of crucial
importance as it allows:
- From a technical standpoint, ease of extension (code reuse).</p>
      <p>- Improved performance of the blockchain with a first level of control, which allows for the
elimination of operations that do not comply with predefined rules.</p>
      <p>
        This framework enables the separation of client and blockchain technology, with middleware in
between. The latter retrieves all user requests before passing them on to the blockchain. Firstly, this
saves time by performing a number of checks and blocking certain operations if the rules are not
respected. Secondly, thanks to the database used to collect transactions, users no longer have to wait
for a transaction to be validated. As soon as the transaction is launched, a "Transaction taken into
account" notification will be sent to the user. It's important to note that this middleware will store all
user-initiated transactions, even when the blockchain is down. All these transactions will be checked,
and those that do not meet the set conditions will be automatically rejected (in which case a
notification will be sent directly to the user). The remaining transactions will be scheduled and sent
directly to the Blockchain once its services have been restored. With this method, we can dispense
with control methods and reduce energy consumption. In summary, this contribution allows:
- To reduce latency within the blockchain network through pre-check functions defined in the
middleware to perform initial verifications. These long waiting times are part of the bottlenecks that
cause blockchain projects[
        <xref ref-type="bibr" rid="ref12 ref3">3,12</xref>
        ].
      </p>
      <p>- To backup operations (using a database) launched if the blockchain network is down and execute
them when the services are restored. In this case, MongoDB database proves to be more efficient as
it allows perfect adaptation to a large volume of data. Additionally, replication is automatically
ensured in case of server failure.
3.2.</p>
    </sec>
    <sec id="sec-5">
      <title>Decision aid</title>
      <p>In this section, we make a number of proposals for decision aids to help us meet these challenges.
These decisions are part of the control process for managing a blockchain project.</p>
      <p>
        GO/NOGO: Studying a project is an important step in any sector, and requires serious work to
avoid any problems linked to its feasibility (even if zero risk does not exist). Like any new technology,
blockchain has been the subject of many experiments through theories, POC (proof of concept) and
standardizations. However, establishing the technical feasibility of a project is one thing, but ensuring
that it runs successfully is quite another, and blockchain is no exception to the rule. Indeed, the notion
of the high cost of this technology has caused several projects to fail, if the existing literature is
anything to go by [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Faced with this situation, a decision aid becomes a necessity to enable
selfassessment in order to measure one's ability to hold a blockchain project. To decide whether or not
to launch a BC project, a great deal of information needs to be collected and analyzed before the
decision is made.
      </p>
      <p>Choice of technology: Blockchain solutions differ in terms of how they work. It is very
important to take the time to examine the type of technology (public or private blockchain) to choose
for a successful project. In [20], the authors propose a method based on Fuzzy Number to determine
the type of blockchain to choose according to the defined needs criteria. This method is generic and
highly efficient, and can determine the most suitable blockchain based on the input data.</p>
      <p>Profitability study: To determine the profitability of a project, we must start by checking its
feasibility. Through a POC (proof of concept), we can determine whether the project is achievable or
not, depending on requirements:
- Economic relevance, to list the project's economic benefits.</p>
      <p>- Ecological issues are currently essential elements to be considered in all projects. This study is
carried out upstream of any project and is based on the results of analyses that are available, hence
the need to be rigorous in all phases of study and analysis.</p>
    </sec>
    <sec id="sec-6">
      <title>4. Conclusion</title>
      <p>
        Since its emergence, blockchain technology has attracted a large number of sectors with its ability
to meet a wide range of challenges. Alongside this enthusiasm, reality has shown that much remains
to be done to make the most of this technology's potential. However, while some projects have
succeeded with great satisfaction, many others have failed, as mentioned in [
        <xref ref-type="bibr" rid="ref3 ref5">3,5</xref>
        ]. Based on our
optimism and successful projects, we can defend the idea that this technology could, like any new
technology, contribute to current challenges as its maturity improves. Our contribution in this paper
was the proposal of a Framework to ensure transaction management to enable users to save time on
their requests. This proposal makes it possible to store all user-initiated operations in a database, and
to prioritize transactions according to defined rules. This ensures that operations are not lost even if
the blockchain services are not operational. In addition, this method considerably reduces the energy
consumption associated with the technology (consensus mechanism). The second part of our
contribution was a proposal for a decision-making aid to help anticipate the risks and long-term
decisions involved in a blockchain project.
      </p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>The author(s) have not employed any Generative AI tools.
[17] Z.István, A. Sorniotti and Marko Vukolić, “StreamChain: Do Blockchains Need Blocks?”, in SERIAL'18:
Proceedings of the 2nd Workshop on Scalable and Resilient Infrastructures for Distributed Ledgers,
https://doi.org/10.1145/3284764.3284765
[18] D.Mao, F. Wang, Z. Hao, and H. Li. 2018. “Credit Evaluation System Based on Blockchain for Multiple
Stakeholders in the Food Supply Chain.” International Journal of Environmental Research and Public
Health 15 (8): 1627. doi:10.3390/ ijerph15081627.
[19] J. Li, A. Maiti, M. Springer and T. Gray, “Blockchain for supply chain quality management: challenges and
opportunities in context of open manufacturing and industrial internet of things”, International Journal of
Computer Integrated Manufacturing, https://doi.org/10.1080/0951192X.2020.1815853.
[20] M. Diop, S. Tazi, Y. Ducq, “Decision Aid on blockchain project: public vs private”, 5th International
Conference on Industry 4.0 and Smart Manufacturing, Procedia Computer Science 232(4):2720-2729 ,
DOI: 10.1016/j.procs.2024.02.089</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Kamilaris</surname>
          </string-name>
          , Fonts, &amp;
          <string-name>
            <surname>Prenafeta-Boldύ.</surname>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>The rise of blockchain technology in agriculture and food supply chains</article-title>
          .
          <source>Trends in Food Science &amp; Technology</source>
          , vol.
          <volume>91</volume>
          , pp.
          <fpage>640</fpage>
          -
          <lpage>652</lpage>
          , doi: 10.1016/j.tifs.
          <year>2019</year>
          .
          <volume>07</volume>
          .034
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Benett.M (</surname>
          </string-name>
          <year>2017</year>
          , November 9). Featured Blogs. Récupéré sur Forrester: https://www.forrester.com/blogs/predictions-2018
          <string-name>
            <surname>-</surname>
          </string-name>
          the
          <article-title>-blockchain-revolution-will-have-to-wait-a-littlelonger/</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A. I.</given-names>
            <surname>Sanka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Irfan</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Huang,</surname>
          </string-name>
          and R. C. C. Cheung, “
          <article-title>A survey of breakthrough in blockchain technology: Adoptions, applications, challenges</article-title>
          and future research,” Computer Communications, vol.
          <volume>169</volume>
          , pp.
          <fpage>179</fpage>
          -
          <lpage>201</lpage>
          , Mar.
          <year>2021</year>
          , doi: 10.1016/j.comcom.
          <year>2020</year>
          .
          <volume>12</volume>
          .028.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>G.</given-names>
            <surname>Al-Mazrouai</surname>
          </string-name>
          , and
          <string-name>
            <surname>S. Sudevan.</surname>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>Managing Blockchain Projects with Agile Methodology</article-title>
          .
          <source>Proceedings of 6th In-ternational Conference on Big Data and Cloud Computing Challenges, doi: 10</source>
          .1007/
          <fpage>978</fpage>
          - 981-32-9889-7_
          <fpage>14</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Z.</given-names>
            <surname>István</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sorniotti</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Vukolić</surname>
          </string-name>
          , “StreamChain: Do Blockchains Need Blocks?,” in
          <source>Proceedings of the 2nd Workshop on Scalable and Resilient Infrastructures for Distributed Ledgers</source>
          , New York, NY, USA, Dec.
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          . doi:
          <volume>10</volume>
          .1145/3284764.3284765.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Kfoury</surname>
          </string-name>
          , “
          <article-title>The Role of Blockchain in Reducing the Cost of Financial Transactions in the Retail Industry”</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S.</given-names>
            <surname>Valeria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Vitaliia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kateryna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Rostyslav</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Oleg</surname>
          </string-name>
          , “
          <source>The Impact of Blockchain Technology on International Trade and Financial Business</source>
          ,” ujaf, vol.
          <volume>10</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>102</fpage>
          -
          <lpage>112</lpage>
          , Jan.
          <year>2022</year>
          , doi: 10.13189/ujaf.
          <year>2022</year>
          .
          <volume>100111</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>[8] Hackius and Peterson,” Blockchain in Logistics and Supply Chain: Trick or Treat ?”, Proceeding of the Hamburg international conference of logistics</article-title>
          , Vol.
          <volume>23</volume>
          ,
          <fpage>3</fpage>
          -
          <lpage>18</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Ribera</surname>
          </string-name>
          ,”
          <article-title>Design and Implementation of a Proof-of-Stake Consensus Algorithm for Blockchain”</article-title>
          ,
          <year>2018</year>
          , Universitat Politècnica de Catalunya
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Ibba</surname>
          </string-name>
          , Pinna,
          <source>Lunesu and Marchesi Initial Coin Offerings and Agile Practices”</source>
          ,
          <year>2018</year>
          ,
          <volume>10</volume>
          .3390/fi10110103
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Floréa</surname>
          </string-name>
          ,”
          <article-title>Blockchain and Internet of Things DataProvider for Smart Applications</article-title>
          ”,
          <year>2018</year>
          ,
          <source>7th Mediterranean Conference on Embedded Computing (MECO).</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Floréa</surname>
          </string-name>
          . (
          <year>2018</year>
          ).
          <article-title>Blockchain and Internet of Things DataProvider for Smart Applications</article-title>
          .
          <source>2018 7th Mediterranean Conference on Embedded Computing (MECO).</source>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>E.</given-names>
            <surname>Wall</surname>
          </string-name>
          , and G. Malm, “
          <article-title>Using Blockchain Technology and Smart Contracts to Create a Distributed Securities Depository”</article-title>
          , Department of Electrical and Information Technology Lund University (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>E.G.</given-names>
            <surname>Ribera</surname>
          </string-name>
          <string-name>
            <surname>Wall</surname>
          </string-name>
          , “
          <article-title>Design and Implementation of a Proof-of-Stake Consensus Algorithm for Blockchain</article-title>
          .”, Universitat Politècnica de Catalunya (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S.</given-names>
            <surname>Ibba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pinna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lunesu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Marchesi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Tonelli</surname>
          </string-name>
          , “
          <article-title>Initial Coin Offerings and Agile Practices,” Future Internet</article-title>
          , vol.
          <volume>10</volume>
          , no.
          <issue>11</issue>
          , p.
          <fpage>103</fpage>
          ,
          <string-name>
            <surname>Oct</surname>
          </string-name>
          .
          <year>2018</year>
          , doi: 10.3390/fi10110103.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Marchesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Marchesi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Tonelli</surname>
          </string-name>
          , “
          <article-title>An Agile Software Engineering Method to Design Blockchain Applications</article-title>
          ,”
          <source>in Proceedings of the 14th Central and Eastern European Software Engineering Conference Russia</source>
          , Moscow Russian Federation, Oct.
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          . doi:
          <volume>10</volume>
          .1145/3290621.3290627.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>