Method for providing user identity based on zero-knowledge proof over blockchain network by using user certification and blockchain system using the same

The method uses user certificates and zero-knowledge proofs to manage user identifiers across multiple blockchain networks, addressing compatibility and security issues by abstracting identifiers into NFTs, ensuring secure and efficient identity verification.

JP2024155660AActive Publication Date: 2024-10-31株式会社シーピーラボズ
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023117131
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2023-07-18
Publication Date
2024-10-31
Estimated Expiration
2043-07-18

AI Technical Summary

Technical Problem

Decentralized applications (dApps) face challenges in efficiently managing user identifiers across multiple blockchain networks due to the need for centralized authentication methods, limited compatibility between blockchains, and the risk of personal information leakage, which complicates user verification and increases fragmentation.

Method used

A method using user certificates and zero-knowledge proofs to generate and verify user identifiers across multiple blockchain networks without direct mapping to blockchain addresses, utilizing smart contracts to abstract user identifiers into Non-Fungible Tokens (NFTs) and manage transaction sequences securely.

Benefits of technology

Enables secure, compatible, and efficient user identifier management across multiple blockchain networks, ensuring privacy by verifying identity without disclosing personal information, and allowing user identifiers to be reused across different blockchain applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155660000001_ABST
    Figure 2024155660000001_ABST
Patent Text Reader

Abstract

To provide a method for providing a user identity based on zero-knowledge proof over a blockchain network by using a user certificate.SOLUTION: A method includes steps of: in response to receiving, from a user terminal, a request for generating a user identity idk, providing, by an address abstraction smart contract of a blockchain network, a user identity generating interface to the user terminal and thus instructing the user terminal to generate the user identity corresponding to a user certificate cert issued from a certification authority; generating a user identity proof value for proving that the user identity has been generated based on a zero-knowledge proof from the user certificate and that the user certificate has been issued by the certification authority; in response to receiving a user identity registering request from the user terminal, verifying, by the address abstraction smart contract, the user identity proof value based on the zero-knowledge proof; and registering the user identity as a valid identity of a user.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate and a blockchain system using the same, and more particularly, to a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate that generates a unique user identifier that can be used in the blockchain network using a user certificate issued from outside the blockchain network and can prove through zero-knowledge proof that a user identifier used in the blockchain network corresponds to a user, and a blockchain system using the same. [Background technology]

[0002] The rapid growth of blockchain technology has led to the proliferation of decentralized applications (dApps). However, despite their decentralized operation, these applications often require centralized authentication methods such as social login or KYC (Know-Your-Customer) processes to ensure efficient operation and prevent malicious attacks such as Sybil attacks that undermine the reliability of the applications.

[0003] To this end, in the past, a method of mapping an external identifier to a blockchain-specific address was mainly adopted as a way to combine a web2 identifier (i.e., an external identifier) ​​such as an external certificate obtained from a centralized certification authority with a web3 identifier such as an address on the blockchain.

[0004] However, this method has limitations in that it is difficult to effectively use external identifiers on the blockchain network and the process of verifying user identifiers in distributed applications is complicated. This limitation can be particularly problematic in multi-chain DAPs that must manage a large number of blockchain-specific addresses, and the fragmentation of identifiers can cause inconvenience to service providers and users, such as having to use different user identifiers for each blockchain due to limited compatibility of user identifiers between blockchains.

[0005] In addition, because each account is assigned to a dedicated blockchain address, due to the nature of the blockchain, it is easy to trace the entire transaction record of each account, so there is a risk that personal information associated with an external identifier mapped to a dedicated blockchain address may be leaked.

[0006] Therefore, in order to improve the vulnerability of user accounts managed by dedicated addresses for each blockchain, existing platforms such as Ethereum introduced the concept of Account Abstraction, which combines contract accounts managed through coding with externally owned accounts (EOA), which are managed by private keys and can only generate and sign transactions, to allow users to directly control the execution logic for authority control, transaction restrictions, account recovery, and transaction batch processing.

[0007] However, this type of account abstraction has the problem that one account can only process one transaction because a user certificate must be made public in the process of verifying the abstracted account when registering a transaction, and there is also a disadvantage that a contract account must be created and used for each chain due to the lack of interoperability between blockchains.

[0008] Therefore, there is a need for an improved solution to the above problems. Summary of the Invention [Problem to be solved by the invention]

[0009] An object of the present invention is to solve all of the above problems.

[0010] In addition, the present invention aims to provide a user identifier that enables a user identifier outside the blockchain network to be used in multi-chain DAPs and web2-web3 hybrid DAPs without one-to-one mapping with a blockchain address.

[0011] In addition, the present invention aims to make it possible to prove that user identifiers used in at least one or more blockchain applications in an existing blockchain system are owned by the same user without a hard fork.

[0012] Another object of the present invention is to increase security of user information by enabling identity verification without disclosing personal information corresponding to a user identifier, and to enable continued use of a user identifier once generated. [Means for solving the problem]

[0013] According to one embodiment of the present invention, in a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate, (a) when a request for generating a user identifier for use in a blockchain network is obtained from a user terminal, an address abstraction smart contract running on a virtual machine of the blockchain network provides a user identifier generation interface to the user terminal, thereby generating a user identifier corresponding to a user certificate issued by a certification authority using the user terminal, and verifying the user identifier using user identifier verification parameters disclosed based on zero-knowledge proof, the user identifier, a certification authority public key corresponding to the certification authority, and the user certificate. and (b) when user identifier registration request information including the user identifier verification parameter, the user identifier, the public key of the certification authority, and the user identifier verification value is acquired from the user terminal, the address abstraction smart contract verifies the user identifier verification value using the user identifier verification parameter, the user identifier, the public key of the certification authority, and the user identifier verification value based on zero-knowledge proof, and when the user identifier verification value is verified, registering the user identifier as a valid identifier of a user.

[0014] (c) In response to the user identifier being registered as the valid identifier of the user, the address abstraction smart contract performs one of the following processes: (i) a first process of registering the user identifier itself, which is an independent value, as the user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into an NFT (Non-Fungible Token) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

[0015] In step (b), the address abstraction smart contract initializes a transaction sequence corresponding to the registered user identifier (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier to manage each specific transaction sequence performed by each specific valid identifier) ​​to 0.

[0016] The user identifier verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the user identifier based on zero-knowledge proof, and the address abstraction service provider stores the user identifier verification parameter in the blockchain network or in a storage location outside the blockchain network, making it readable by the address abstraction smart contract or the user identifier generation interface.

[0017] In step (a), the user terminal receives the user certificate from the certification authority outside the blockchain and directly obtains the certification authority's public key from the certification authority, or, if the certification authority's public key of the certification authority is registered in the blockchain network, obtains the certification authority's public key from a storage location outside the blockchain network or from the blockchain network.

[0018] According to another embodiment of the present invention, there is provided a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate, comprising: (a) receiving a transaction registration request from a user terminal in a state where a user identifier generated using a user certificate issued by a certification authority is registered as a valid identifier of a user; an address abstraction smart contract running on a virtual machine of the blockchain network provides an abstract transaction generation interface to the user terminal to generate the user identifier corresponding to the user certificate using the user terminal; and verifying that the user who transmitted the transaction message using abstract transaction message verification parameters disclosed based on zero-knowledge proof, the user identifier, the user certificate, a transaction message hash value which is a hash value of a transaction message including information on a transaction that the user intends to perform on the blockchain network, and a message sequence corresponding to the transaction message, and (b) upon receiving an abstracted transaction including the abstracted transaction message verification parameter, the user identifier, the transaction message, the message sequence, and the abstracted transaction proof value from the user terminal, the address abstraction smart contract verifies the abstracted transaction proof value using the abstracted transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstracted transaction proof value based on zero-knowledge proof, and when the abstracted transaction proof value is verified, transmits the transaction message to the blockchain network to be executed, and registers an execution result of the abstracted transaction as a transaction.

[0019] In step (a), the address abstraction smart contract is in a state of having performed any one of the following processes in response to the user identifier being registered as the valid identifier of the user: (i) a first process of registering the user identifier itself, which is an independent value, as the user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into an NFT (Non-Fungible Token) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

[0020] In the state where the address abstraction smart contract has initialized to 0 a transaction sequence (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier in order to manage each specific transaction sequence performed by each specific valid identifier) ​​corresponding to the registered user identifier, and the address abstraction smart contract has registered the user identifier itself or the wallet address matched to the user identifier as the user blockchain identifier using the first process or the second process, when receiving the abstracted transaction from the user terminal in step (b), the address abstraction smart contract (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction, and (ii) checks whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction, If there is a corresponding user blockchain identifier, it is checked whether a value obtained by adding 1 to a specific transaction sequence corresponding to the received user identifier corresponds to the message sequence included in the abstract transaction; (iii) verifying the abstract transaction proof value using the abstract transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstract transaction proof value based on a zero-knowledge proof; and if the abstract transaction proof value is verified, (iv) updating the specific transaction sequence to a value corresponding to the message sequence, transmitting the transaction message to the blockchain network for execution, and registering the execution result for the abstract transaction as the transaction.

[0021] In a state where the address abstraction smart contract has registered the externally owned account corresponding to the user identifier as the user blockchain identifier using the third process, when the transaction registration request including the transaction message is obtained from the user terminal in step (a), the address abstraction smart contract generates the user identifier corresponding to the user certificate using the user terminal, and when a verification request for the user identifier is obtained from the specific blockchain node in step (b) in response to the user terminal transmitting a transaction including the user identifier and the transaction message to a specific blockchain node that intends to execute the transaction, the address abstraction smart contract (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the transaction, and (ii) if there is a user blockchain identifier corresponding to the user identifier, transmits the transaction message to the blockchain network to be executed, and registers an execution result of the transaction in the blockchain network.

[0022] The abstracted transaction message verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the abstracted transaction based on zero-knowledge proof, and the address abstraction service provider stores the abstracted transaction message verification parameter in the blockchain network or in a storage location outside the blockchain network, making it readable by the address abstraction smart contract or the abstracted transaction generation interface.

[0023] In step (a), the user terminal includes in the transaction message information on a function signature corresponding to a function performed by the transaction, information on a target address on which the function is to be performed, information on a space in which data included as a factor when calling the function is located, and information on a cryptocurrency value used to perform the function.

[0024] According to yet another embodiment of the present invention, a blockchain system for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate includes at least one blockchain node including at least one memory for storing instructions; and at least one processor configured to execute the instructions, wherein the processor (I) when a request for generating a user identifier for use in a blockchain network is acquired from a user terminal, generates a user identifier corresponding to a user certificate issued by a certification authority using the user terminal by providing a user identifier generation interface to the user terminal through an address abstraction smart contract running on a virtual machine of the blockchain network, and generates a user identifier corresponding to the user certificate issued by a certification authority using the user terminal, and obtains user identifier verification parameters disclosed based on the zero-knowledge proof, the user identifier verification parameters for the user certificate, and the user identifier verification parameters for the user certificate. and (II) a process of generating a user identifier certification value for proving that the user identifier is generated from the user certificate and that the user certificate is issued by the certification authority, using a user identifier, a public key of the certification authority corresponding to the certification authority, and the user certificate; and (II) a process of verifying the user identifier certification value using the user identifier verification parameter, the user identifier, the public key of the certification authority, and the user identifier certification value based on zero-knowledge proof through the address abstraction smart contract when user identifier registration request information including the user identifier verification parameter, the user identifier, the certification authority public key, and the user identifier certification value is acquired from the user terminal, and registering the user identifier as a valid identifier of a user when the user identifier certification value is verified.

[0025] (III) In response to the user identifier being registered as the valid identifier of the user, the processor performs one of the following processes through the address abstraction smart contract: (i) a first process of registering the user identifier itself, which is an independent value, as the user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into a Non-Fungible Token (NFT) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

[0026] In the process (II), the processor initializes a transaction sequence corresponding to the user identifier registered through the address abstraction smart contract (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier to manage each specific transaction sequence performed by the each specific valid identifier) ​​to 0.

[0027] The user identifier verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the user identifier based on zero-knowledge proof, and the address abstraction service provider stores the user identifier verification parameter in the blockchain network or in a storage location outside the blockchain network, making it readable by the address abstraction smart contract or the user identifier generation interface.

[0028] In the process (I), the user terminal is characterized in that it receives the user certificate from the certification authority outside the blockchain and directly obtains the certification authority's public key from the certification authority, or, if the certification authority's public key of the certification authority is registered in the blockchain network, obtains the certification authority's public key from a storage location outside the blockchain network or from the blockchain network.

[0029] According to yet another embodiment of the present invention, in a blockchain system for providing a user identity based on zero-knowledge proof in a blockchain network using a user certificate, the system includes at least one memory for storing instructions; and at least one processor configured to execute the instructions;(I) when a transaction registration request is received from a user terminal in a state where a user identifier generated using a user certificate issued by a certification authority is registered as a valid identifier of a user, the processor generates the user identifier corresponding to the user certificate using the user terminal by providing an abstracted transaction generation interface to the user terminal through an address abstraction smart contract running on a virtual machine of the blockchain network, verifies that the user who transmitted the transaction message is the owner of the user identifier using abstracted transaction message verification parameters disclosed based on zero-knowledge proof, the user identifier, the user certificate, a transaction message hash value which is a hash value of a transaction message including information on a transaction that the user intends to perform on the blockchain network, and a message sequence corresponding to the transaction message, and and (II) a process of generating an abstracted transaction proof value for verifying validity of an abstracted transaction message and the message sequence, and (II) a process of verifying the abstracted transaction proof value using the abstracted transaction message verification parameters, the user identifier, the transaction message, the message sequence, and the abstracted transaction proof value based on zero-knowledge proof through the address abstraction smart contract when an abstracted transaction including the abstracted transaction message verification parameters, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstracted transaction proof value, and when the abstracted transaction proof value is verified, transmitting the transaction message to the blockchain network for execution, and registering the execution result of the abstracted transaction as a transaction.

[0030] In the process (I), the processor is characterized in that, in response to the user identifier being registered as the valid identifier of the user, the processor has performed one of the following processes through the address abstraction smart contract: (i) a first process of registering the user identifier itself, which is an independent value, as the user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into an NFT (Non-Fungible Token) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

[0031] When the processor is in a state where the transaction sequence corresponding to the user identifier registered through the address abstraction smart contract (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier in order to manage each specific transaction sequence performed by each specific valid identifier) ​​is initialized to 0, and the address abstraction smart contract has registered the user identifier itself or the wallet address matched to the user identifier as the user blockchain identifier using the first process or the second process, upon receiving the abstracted transaction from the user terminal in the (II) process, the processor (i) checks through the address abstraction smart contract whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction, and ( ii) if there is a user blockchain identifier corresponding to the user identifier, it is checked whether a value obtained by adding 1 to a specific transaction sequence corresponding to the received user identifier corresponds to the message sequence included in the abstract transaction; (iii) verifying the abstract transaction proof value using the abstract transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstract transaction proof value based on a zero-knowledge proof; and if the abstract transaction proof value is verified, (iv) updating the specific transaction sequence to a value corresponding to the message sequence, transmitting the transaction message to the blockchain network for execution, and registering the execution result for the abstract transaction as the transaction.

[0032] In the case where the address abstraction smart contract has registered the externally owned account corresponding to the user identifier as the user blockchain identifier using the third process, when the transaction registration request including the transaction message is obtained from the user terminal in the process (I), the processor generates the user identifier corresponding to the user certificate using the user terminal, and when a verification request for the user identifier is obtained from the specific blockchain node in the process (II) in response to the user terminal transmitting a transaction including the user identifier and the transaction message to a specific blockchain node that intends to execute the transaction, the processor (i) checks through the address abstraction smart contract whether there is a user blockchain identifier corresponding to the user identifier included in the transaction, and (ii) if there is a user blockchain identifier corresponding to the user identifier, transmits the transaction message to the blockchain network to be executed, and registers an execution result of the transaction in the blockchain network.

[0033] The abstracted transaction message verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the abstracted transaction based on zero-knowledge proof, and the address abstraction service provider stores the abstracted transaction message verification parameter in the blockchain network or in a storage location outside the blockchain network, making it readable by the address abstraction smart contract or the abstracted transaction generation interface.

[0034] In the process (I), the user terminal includes in the transaction message information on a function signature corresponding to the function performed by the transaction, information on a target address on which the function is to be performed, information on a space in which data included as a factor when calling the function is located, and information on a cryptocurrency value used to perform the function.

[0035] Additionally, there is further provided a computer readable recording medium for recording a computer program for performing the method of the present invention. Effect of the Invention

[0036] The present invention does not map user identifiers outside the blockchain network one-to-one with blockchain addresses, but uses user certificates and corresponding zero-knowledge proofs, eliminating the need to store private keys and making it possible to use user identifiers in multi-chain DAPs and web2-web3 hybrid DAPs instead of limiting their use to a specific blockchain.

[0037] In addition, the present invention makes it possible to prove through zero-knowledge proof that a user identifier corresponds to a user certificate using a smart contract, thereby making it possible to prove that user identifiers used in at least one or more blockchain applications are owned by the same user simply by distributing a smart contract to an existing blockchain system or application without performing a hard fork.

[0038] In addition, the present invention verifies a user identifier using zero-knowledge proof, thereby making it possible to verify an identity without disclosing a user certificate corresponding to the user identifier, thereby increasing the security of user information and enabling a user identifier that has been generated to continue to be used. [Brief description of the drawings]

[0039] The following drawings, which are attached to be used for explaining the embodiments of the present invention, are merely a part of the embodiments of the present invention, and a person having ordinary knowledge in the technical field to which the present invention pertains (hereinafter, "ordinary engineers") can derive other drawings based on these drawings without performing any inventive work.

[0040] [Figure 1] FIG. 1 is a simplified diagram of a blockchain system and a blockchain node that uses a user certificate to provide a user identifier based on zero-knowledge proof in a blockchain network in one embodiment of the present invention. [Diagram 2] 1 is a diagram illustrating a simplified process of providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate in one embodiment of the present invention. [Diagram 3] 1 is a diagram illustrating a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate in one embodiment of the present invention. [Figure 4] FIG. 1 is a diagram illustrating another method of providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate in one embodiment of the present invention. [Diagram 5] FIG. 1 is a diagram illustrating another method of providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate in one embodiment of the present invention. [Figure 6] FIG. 1 is a diagram illustrating a method for providing a user identity based on zero-knowledge proof in a blockchain network using a user certificate in a hybrid DAP in one embodiment of the present invention. [Figure 7] A brief comparison was made between a method of serving a user identifier in a conventional blockchain system and a method of serving a user identifier according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0041] The following detailed description of the present invention will be made with reference to the accompanying drawings, which show, by way of example, specific embodiments in which the present invention may be practiced, in order to clarify the objects, technical solutions, and advantages of the present invention. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the present invention.

[0042] Furthermore, throughout the detailed description of the present invention and the claims, the word "comprises" and variations thereof are not intended to exclude other technical features, additions, components or steps. Other objects, advantages and characteristics of the present invention will become apparent to those of ordinary skill in the art in part from the description and in part from the practice of the present invention. The following examples and drawings are provided as illustrations and are not intended to limit the present invention.

[0043] Moreover, the present invention covers all possible combinations of the embodiments shown herein. It should be understood that the various embodiments of the present invention are different from one another but are not necessarily mutually exclusive. For example, a particular shape, structure, and characteristic described herein may be embodied in another embodiment without departing from the spirit and scope of the present invention. It should also be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the present invention. Therefore, the following detailed description is not intended to be taken in a limiting sense, and the scope of the present invention is limited only by the appended claims with the full scope of equivalents that such claims are entitled to, if properly interpreted. In the drawings, like reference numerals refer to the same or similar functions across the various aspects.

[0044] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings in order to enable those skilled in the art to easily practice the present invention.

[0045] 1 is a diagram illustrating a blockchain system and a blockchain node that use a user certificate to provide a user identifier based on zero-knowledge proof in a blockchain network in one embodiment of the present invention, and referring to FIG. 1, in one embodiment of the present invention, the blockchain system may include a blockchain network 100 composed of a number of blockchain nodes that authenticate identities based on user identifiers or provide blockchain-based services. In addition, such a blockchain network 100 may interact with a plurality of user terminals 200, and the plurality of user terminals 200 may interact with a certification institution (300) to receive issuance of a user certificate.

[0046] First, the blockchain network 100 generates blocks through distributed consensus using a peer-to-peer (P2P) method among multiple blockchain nodes 100_1, 100_2, 100_3, 100_4, 100_5, ..., 100_N, and can link the blocks in a chain and record them in a distributed ledger.

[0047] In this case, at least one blockchain node 100_1 constituting the blockchain network 100 may include a memory 101_1 storing instructions for servicing a user identifier based on zero-knowledge proof in the blockchain network using a user certificate by executing a smart contract, and a processor 102_1 for performing an operation for servicing a user identifier based on zero-knowledge proof in the blockchain network using a user certificate by executing a smart contract in response to the instructions stored in the memory 101_1. Here, for convenience of explanation, in FIG. 1, a blockchain node that services a user identifier based on zero-knowledge proof in the blockchain network using a user certificate is specified as 100_1 in one embodiment of the present invention.

[0048] Specifically, blockchain node 100_1 may typically utilize a combination of computing devices (e.g., devices that may include computer processors, memory, storage, input and output devices, and other components of existing computing devices; electronic communication devices such as routers, switches, etc.; electronic information storage systems such as network attached storage (NAS) and storage area networks (SAN)) and computer software (i.e., instructions that cause a computing device to function in a particular manner) to achieve the desired system performance.

[0049] The communication unit of such a computer device can send and receive requests and responses to other linked computer devices, and by way of example, such requests and responses can be made via the same TCP session, but are not limited to this, and can also be sent and received, for example, as UDP datagrams.

[0050] The processor of the computing device may include hardware components such as a micro processing unit (MPU) or central processing unit (CPU), cache memory, data bus, etc. The computing device may further include software components such as an operating system and applications that perform specific purposes.

[0051] However, this does not exclude the case where the computing device includes an integrated processor in which the medium, processor and memory for implementing the present invention are integrated.

[0052] Meanwhile, an address abstraction service provider for servicing user identifiers based on zero-knowledge proofs can distribute an address abstraction smart contract to the blockchain network 100 to service user identifiers based on zero-knowledge proofs in the blockchain network using a user certificate, and the distributed address abstraction smart contract can run on a virtual machine of the blockchain network 100.

[0053] Next, the user terminal 200 that wishes to use the address abstraction service to generate a user identifier used in blockchain services such as games, payments, and voting can request the certification authority 300 to issue a user certificate, and generate a user identifier based on the user certificate issued by the certification authority 300 through the address abstraction smart contract, and the generated user identifier can be used in various blockchains without being limited by the type of blockchain system. Here, the user terminal 200 can be an entity that uses the blockchain network 100, generate a transaction to use a blockchain-based service, and have the blockchain network 100 verify the user identifier and transaction content to register the transaction.

[0054] In one embodiment of the present invention configured as above, a method for providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate through a blockchain system will be described with reference to Figures 2 to 7 as follows.

[0055] FIG. 2 is a diagram illustrating a process of providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate in one embodiment of the present invention.

[0056] First, an address abstraction service provider that has distributed an address abstraction smart contract to the blockchain network 100 may generate and store user identifier verification parameters and abstract transaction message verification parameters required to provide a user identifier based on zero-knowledge proof through the distributed smart contract.

[0057] Here, the user identifier verification parameter is a relation value (R R ) to generate (crs R ← zkp.Setup(R R )) Common Reference String (CRS R ), and the address abstraction service provider can store the user identifier verification parameters in the blockchain network 100 or in a storage location external to the blockchain network 100 to make them readable by the address abstraction smart contract or the user identifier generation interface. Here, the external storage location of the blockchain network 100 may be a distributed file system (InterPlanertary File System; IPFS) having a form of a P2P (Peer to Peer) distributed network that can host and back up data in multiple blockchain nodes, but the present invention is not limited thereto.

[0058] In addition, the abstract transaction message verification parameter is a relation value (R P ) to generate (crs P ← zkp.Setup(R P )) Common Reference String (CRS P), and the address abstraction service provider can store abstracted transaction message validation parameters in the blockchain network or in a storage location external to the blockchain network, making them readable by address abstraction smart contracts and abstracted transaction generation interfaces.

[0059] Meanwhile, in the above description, the address abstraction service provider stores the user identifier verification parameter and the abstract transaction message verification parameter in the blockchain network or an external storage location. However, in contrast, the address abstraction smart contract can generate the user identifier verification parameter and the abstract transaction message verification parameter and store them in the blockchain network or an external storage location. As an example, the address abstraction service provider can generate a relationship value (R R ) and the relation value (R P ) to the address abstraction smart contract to execute the zero-knowledge proof setup function (CRS R ← zkp.Setup(R R )) to create a common reference string (crs R ) and store it in the blockchain network or an external storage location, and then use the zero-knowledge proof setup function (CRS P ← zkp.Setup(R P )) to create a common reference string (crs P ) and store it in the blockchain network or in an external repository.

[0060] Next, in one embodiment of the present invention, a user who wishes to use the user identification service can receive a user certificate (cert) from the certification authority 300 through the user terminal 200 .

[0061] As an example, a user can provide user personal data pwd, such as a user password, to the authentication authority 300 through the user terminal 200 to receive a user certificate, where an example of the user certificate may be a web2 identity such as a JSON Web Token (JWT).

[0062] Next, the user can broadcast information requesting the generation of a user identifier for use in the blockchain network to the blockchain network through the user terminal 200. In this case, the information requesting the generation of a user identifier can be transmitted to the address of the address abstraction smart contract, and accordingly, at least one blockchain node constituting the blockchain network can execute the address abstraction smart contract in a virtual machine, and the address abstraction smart contract (zero-knowledge Address Abstraction contract; zkAA contract) can provide a user identifier generation interface to the user terminal 200.

[0063] Then, the user terminal 200 can generate a user identifier based on the user certificate through the user identifier generation interface, and then register the user identifier in the blockchain network, thereby proving that the user identifier is based on the user certificate.

[0064] Here, in one embodiment of the present invention, a method of generating and registering a user identifier based on zero-knowledge proof in a blockchain network using a user certificate can be coded and expressed as the following pseudocode. Therefore, the method of generating and registering a user identifier will be described below with reference to the pseudocode.

[0065] JPEG2024155660000002.jpg141100

[0066] According to the pseudo code, there are three different types of user blockchain identifiers corresponding to user identifiers (τ1, τ 2、 τ3), and the user terminal 200 can perform a pre-set registration process by selecting one of three different types, and the types of user blockchain identifiers will be described in detail later.

[0067] The user terminal 200 can generate a user identifier based on a user certificate issued by the authentication authority 300 through a user identifier generation interface.

[0068] In this case, the user terminal 200 may generate a user identifier by applying a hash function (H(cert)) to the user certificate, but the present invention is not limited to this and may include any type of function that does not allow the user certificate to be reverse-generated or traced back from the user identifier.

[0069] In addition, the user terminal 200 receives a user identifier verification parameter (pp R ) User identifier (id k ), the public key (PK) of the certification authority corresponding to the certification authority, and the user certificate (Cert) are used to convert the user identifier to user (user k ) user certificate, and the user certificate is a user identifier certificate value to prove that it was issued by a certification authority. Here, the public key of the certification authority may be used to certify the user certificate, and the user terminal 200 may obtain the public key of the certification authority directly from the certification authority, or, if the public key of the certification authority of the certification authority is registered in the blockchain network 100, may obtain the public key of the certification authority from a storage location outside the blockchain network 100 or from the blockchain network 100.

[0070] Thereafter, the user terminal 200 transmits the user identifier verification parameter (pp R ), user identifier (id k ), the certificate authority's public key (pk), and the user identity certificate value JPEG2024155660000004.jpg5103 can be broadcast to the blockchain network 100 with the address of the address abstraction smart contract as the destination.

[0071] Then, the address abstraction smart contract verifies the user identifier certificate value using the user identifier verification parameter, the user identifier, the certification authority's public key, and the user identifier certificate value based on the zero-knowledge proof. That is, the zkp.Verify function can output a binary value of 1 if the user identifier certificate value is verified, and can output a binary value of 0 if the user identifier certificate value fails to be verified.

[0072] This allows the address abstraction smart contract to register the user identifier as a valid identifier in the blockchain network 100 once the user identifier proof value is verified.

[0073] That is, in response to a user ID registration request from the user terminal 200, the address abstraction smart contract asserts whether the user ID requested for registration is an already registered user ID (assert(id has not yet been registered)) and verifies the user ID certificate value. JPEG2024155660000006.jpg563, and outputs information regarding whether the verification of the user identifier proof value was successful. If the verification is successful, the user blockchain identifier is output together with information regarding whether the verification was successful, and the user identifier can be registered in the address abstraction smart contract (register id within zkAA contract).

[0074] In addition, the address abstraction smart contract generates a transaction sequence (nonce) corresponding to the registered user identifier. id ) to 0 (set nonce id ← 0), where transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier to manage each specific transaction sequence performed by each specific valid identifier.

[0075] In addition, after the user identifier proof value is verified and the user identifier is registered as a valid identifier in the blockchain network 100, the address abstraction smart contract can perform one of the following processes, depending on the type of user blockchain identifier (τ1, τ2, τ3) previously selected by the user terminal 200: (i) a first process (τ1) of registering the user identifier itself, which is an independent value, as a user blockchain identifier; (ii) a second process (τ2) of generating a smart contract wallet (Contract Account; CA) controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as a user blockchain identifier; and (iii) a third process (τ3) of converting the user identifier into an NFT (Non-Fungible Token) to generate a user NFT and granting ownership of the user NFT to an externally owned account (EOA), thereby registering the externally owned account as a user blockchain identifier.

[0076] Accordingly, the address abstraction smart contract requests the user identifier registration of the user terminal 200. JPEG2024155660000007.jpg548 The generated user blockchain identifier (id (first process, τ1), address (CA) (second process, τ2), msg.sender (third process, τ3) or If the verification is not successful, the output will be JPEG2024155660000008.jpg53 (if verification is not successful).

[0077] That is, the present invention allows a user blockchain identifier that can be used in the blockchain network 100 to be registered using a user identifier corresponding to the user certificate without disclosing the user certificate through the user terminal 200, and allows a user identifier, a wallet address matching the user identifier, or an externally owned account holding a user NFT to be used as the user blockchain identifier according to the type of identifier required by each blockchain service. Here, an abstracted identifier such as a user identifier can identify a user through zero-knowledge proof, and an address matching the user identifier is connected to a user, so the user can be identified through this.

[0078] As described above, a user blockchain identifier is registered in the blockchain network using a user certificate, while in one embodiment of the present invention, a method for posting a transaction in the blockchain network using the registered user blockchain identifier is as follows.

[0079] Referring again to FIG. 2, when a user identifier generated using a user certificate issued by the certification authority 300 is registered as a valid identifier of the user and a transaction registration request is received from the user terminal 200, the address abstraction smart contract running on the virtual machine of the blockchain network 100 can provide an abstract transaction generation interface to the user terminal 200.

[0080] Here, in one embodiment of the present invention, a method of publishing a transaction using a user identifier registered in a blockchain network using a user certificate can be expressed as the following pseudocode: Therefore, hereinafter, a method of performing a transaction using a user identifier will be described with reference to the following pseudocode.

[0081] JPEG2024155660000009.jpg181101

[0082] According to the above pseudo code, as described above, the user blockchain identifier corresponding to the user identifier can be of three different types (τ1, τ2, τ3), and the user terminal 200 can perform a pre-set transaction posting process by selecting one of the three different types. The transaction posting process according to each user blockchain identifier type will be described in detail later.

[0083] Here, according to the above-mentioned method of registering a user identifier, the address abstraction smart contract corresponds to the registration of the user identifier as a valid identifier in the blockchain network 100, and may be in a state in which the user terminal 200 has performed one of the following processes according to the type (τ1, τ2, τ3) of the user blockchain identifier previously selected: (i) a first process (τ1) of registering the user identifier itself, which is an independent value, as a user blockchain identifier; (ii) a second process (τ2) of generating a smart contract wallet (Contract Account; CA) controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as a user blockchain identifier; and (iii) a third process (τ3) of converting the user identifier into an NFT (Non-Fungible Token) to generate a user NFT, and granting ownership of the user NFT to an externally owned account (EOA), thereby registering the externally owned account as a user blockchain identifier. In addition, the address abstraction smart contract may initialize a transaction sequence corresponding to a registered user identifier to 0. Here, the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier in order to manage each specific transaction sequence performed by each specific valid identifier.

[0084] Thus, referring to the pseudo code for the above posting, the user terminal 200 can generate a transaction message (msg) including information on a transaction to be performed. Here, the user terminal 200 can include in the transaction message information on a function signature (funcsig) corresponding to a function to be performed by the transaction, information on a target address on which the function is to be performed (target), information on a space in which data included as a factor when calling the function is located (calldata), and information on a cryptocurrency value (value) used to perform the function.

[0085] Then, the user terminal 200 can generate a user identifier corresponding to the user certificate by using the abstracted transaction generation interface acquired from the address abstraction smart contract in response to the transaction registration request. In this case, the user terminal 200 can generate a user identifier by applying a hash function (H(cert)) to the user certificate, but the present invention is not limited thereto and can include all types of functions that do not allow the user certificate to be reverse-generated or reverse-traced from the user identifier.

[0086] Next, the user terminal 200 may generate a transaction message hash value (H(msg)) for the previously generated transaction message (msg). Here, the user terminal 200 may generate the transaction message hash value (H(msg)) by applying a hash function to the transaction message (msg), but the present invention is not limited thereto and may include any type of function that prevents the transaction message from being reverse-generated or reverse-traced from the transaction message hash value.

[0087] Thereafter, the user terminal 200 uses the published abstract transaction message verification parameter (pp P ), user identifier (id k), a user certificate (cert), a transaction message hash value (H(msg)) which is a hash value of a transaction message (msg) containing information on a transaction that the user intends to execute on the blockchain network 100, and a message sequence (m) corresponding to the transaction message to verify that the user who transmitted the transaction message is the owner of the user identifier and to verify the validity of the transaction message and the message sequence. (P,m) ) to generate (π (P,m) ← zkp.Prove(pp P ,(id k ,H(msg),m); cert)).

[0088] Accordingly, when the address abstraction smart contract registers the user identifier itself as the user blockchain identifier or registers the wallet address as the user blockchain identifier using the first or second process, the user terminal 200 registers the abstracted transaction message verification parameter (pp P ), user identifier (id k ), transaction message (msg), message sequence (m) and abstract transaction proof value (π (P,m) PUBLISH(pp P ,id,msg,m,π (P,m) ), that is, the abstracted transaction can be broadcast to the blockchain network 100 with the address of the address abstracted smart contract as the destination. Here, referring to FIG. 2, a user represented by ∀user is a user who has previously registered a user identifier. kHowever, it is a user who generates an abstraction transaction by registering a blockchain user identifier using the above-mentioned first or second process among the registered users, and is expressed separately for convenience of expression. In addition, in order to execute the address abstraction smart contract by the abstraction transaction, a payment of cryptocurrency may be required, and thus the user terminal can transmit a cryptocurrency value used to execute a function included in the transaction message of the abstraction transaction, i.e., cryptocurrency such as ETH corresponding to the cost required to execute the address abstraction smart contract, to the address abstraction smart contract together with the abstraction transaction.

[0089] Meanwhile, when the address abstraction smart contract has registered an externally owned account corresponding to the user identifier as a user blockchain identifier using the third process, instead of generating an abstracted transaction including an abstracted transaction proof value as described above, when a transaction registration request including a transaction message (msg) is received from the user terminal 200, the address abstraction smart contract can generate a user identifier corresponding to the user certificate excluding the abstracted transaction proof value using the user terminal 200. Thereafter, the user terminal 200 can broadcast the address of a specific blockchain where a transaction including the user identifier and the transaction message is to be executed to the blockchain network 100 as a destination.

[0090] Next, if the address abstraction smart contract has registered the user identifier itself as the user blockchain identifier or registered the wallet address as the user blockchain identifier using the first or second process, the address abstraction smart contract verifies the abstract transaction proof value using the abstract transaction message verification parameters, the user identifier, the transaction message hash value which is a hash value for the transaction message, the message sequence, and the abstract transaction proof value based on the zero-knowledge proof (zkp.Verify(pp P ,(id k ,H(msg),m),π (P,m) That is, the zkp.Verify function can output a binary value of 1 if the user identifier certificate value is verified, and can output a binary value of 0 if the user identifier certificate value fails to be verified.

[0091] Accordingly, when the abstract transaction proof value is verified, the address abstraction smart contract transmits a transaction message to the block chain network for execution, and registers the execution result of the abstract transaction as a transaction. That is, the address abstraction smart contract transmits an abstract transaction registration request (PUBLISH(pp P, id k ,msg,m,π (P,m) )) along with information on whether the verification of the abstract transaction proof was successful (0 or 1), the transaction result (res or The output can be returned as JPEG2024155660000010.jpg43 (if validation is not successful).

[0092] Specifically, when an abstracted transaction is received from the user terminal 200, the address abstraction smart contract (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction (assert(id must have been registered)), and (ii) if there is a user blockchain identifier corresponding to the user identifier, checks whether the value obtained by adding 1 to a specific transaction sequence corresponding to the received user identifier corresponds to the message sequence included in the abstracted transaction (assert(m == nonce id+1 ), and (iii) verifying the abstract transaction proof value using the abstract transaction message verification parameter, the user identifier, the transaction message hash value which is a hash value of the transaction message, the message sequence, and the abstract transaction proof value based on the zero-knowledge proof (assert zkp.Verify(pp P, (id k ,H(msg),m),π (P,m) )) and once the abstract transaction proof value is verified, (iv) update the specific transaction sequence to a value corresponding to the message sequence (nonce id ← m), and transmit the transaction message to the blockchain network for execution, thereby registering the execution result of the abstract transaction as a transaction.

[0093] Meanwhile, when an externally owned account corresponding to the user identifier is registered as a user blockchain identifier using the third process, when the user terminal 200 receives a verification request for the user identifier from a specific blockchain node in response to transmitting a transaction including the user identifier and a transaction message to the specific blockchain node where the user terminal 200 intends to execute the transaction, the address abstraction smart contract (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the transaction (assert msg.sender == address(zkAA contract)), and (ii) if there is a user blockchain identifier corresponding to the user identifier, it transmits the transaction message to the blockchain network to be executed, and the execution result of the transaction can be registered in the blockchain network.

[0094] As described above, the address abstraction smart contract executed according to the present invention generates a unique identifier indicating the identity of a user, and the user certificate used to generate the unique identifier of the user is known only to the user and the certification authority, while the validity of the user identifier corresponding to the user certificate can be publicly verified using the user identifier proof value and the abstracted transaction proof value without disclosing the user certificate. That is, a user who has a valid user certificate can thereby generate a valid user identifier proof value and an abstracted transaction proof value at any time for an executable transaction message and its corresponding message sequence.

[0095] In addition, the present invention can prevent forgery of the generated transaction by including the transaction message when generating the abstracted transaction proof value, and can ensure that the address abstraction smart contract performs only the specified operations. In addition, the present invention can ensure that the abstracted transactions are performed in order without being changed or omitted by using the message sequence.

[0096] In addition, unlike methods of generating address abstraction using only hash values ​​or Merkle trees, the present invention does not disclose user certificates, so once a user identifier is registered, there is no limit to the number of times it can be used, and users can include transaction messages requested by users in abstract transactions, making it suitable for carrying out various types of transactions.

[0097] Accordingly, in one embodiment of the present invention, various application examples of providing a user identifier based on zero-knowledge proof in a blockchain network using a user certificate are shown in the following Figures 3 to 6. Hereinafter, detailed explanations of parts that can be easily understood from the explanations with reference to Figures 1 and 2 will be omitted.

[0098] First, FIG. 3 briefly illustrates a method for providing a blockchain service in a blockchain network when a user identifier, which is an independent value, is registered as a user blockchain identifier in one embodiment of the present invention.

[0099] In the application example shown in Fig. 3, a user terminal 200 attempts social login to access and play a game whose operation is at least partially operated by a smart contract. Here, Fig. 3 illustrates a case where a blockchain user identifier is registered as a user certificate, i.e., a hash value (H(cert)) for the user's web2 identifier, and an address abstraction smart contract (zkAA) that verifies the user identifier is represented as one blockchain node 100_1 to which the smart contract is distributed, and an entity that executes the smart contract for the game is represented as another blockchain node 100_2.

[0100] Referring to FIG. 3, when the user terminal 200 moves to a game website and clicks a login button, it may be redirected to a social login provider (e.g., Google or GitHub) for identity authentication (step A-1). If the authentication is successful, the user terminal 200 may obtain a user certificate including the user's identity information (step A-2) and be redirected back to the game website. Then, the user terminal 200 may generate a user identifier by calculating a hash value of the user certificate, and generate a user identifier proof value that can prove that the user certificate is signed by the social login provider and that the user identifier is identical to the hash value of the user certificate. Next, the user terminal 200 may post the generated user identifier proof value and user identifier to the blockchain network 100 (step A-3), and the address abstraction smart contract 100_1;zkAA) may verify the corresponding user identifier proof value, and if valid, register the hash value of the user certificate as a user blockchain identifier (step A-4). Here, the unique user identifier of the user terminal 200 and the user blockchain identifier are identical. The user terminal 200 is then able to post the abstracted transaction to the blockchain.

[0101] As a result, when the user terminal 200 posts the abstracted transaction to the blockchain (step: B-1), the abstracted transaction is verified by the address abstraction smart transaction 100_1 (step B-2), and if the validity of the abstracted transaction is verified, the requests associated with the transaction message included in the abstracted transaction can be executed (step B-3).

[0102] Such a user identifier based on the hash value of a user certificate can be applied to any DAP that can recognize a hash value identifier without using an existing address-based identifier.

[0103] Next, FIG. 4 briefly illustrates a method for providing blockchain services in a blockchain network when a user identifier is matched to a wallet address of a smart contract wallet and the wallet address is registered as a user blockchain identifier in one embodiment of the present invention.

[0104] FIG. 4 illustrates a method for matching a user identifier to a smart contract wallet on a blockchain network 100 to perform address abstraction based on zero-knowledge proofs, where the user blockchain identifier (id chain ) is the wallet address or contract account of the smart contract wallet. As in FIG. 3, FIG. 4 also represents an address abstraction smart contract (zkAA) that verifies a user identifier as one blockchain node 100_1 to which the smart contract is distributed, and represents an entity that executes the smart contract for the game as another blockchain node 100_2, and further represents a blockchain node 100_3 in which a smart contract wallet controlled by a user identifier is located.

[0105] The process performed according to the scenario of Figure 4 is almost the same as the process depicted in Figure 3. However, in the case of Figure 4, after the address abstraction smart contract 100_1 verifies the user identifier certificate value in step A-4, if the validity is verified, a mapping between the user identifier and the newly minted smart contract wallet 100_3 can be generated. This allows the smart contract wallet 100_3 to directly interact (steps B-3 and B-4) with the smart contract 100_2 that executes the game in carrying out the requirements of the transaction message through the abstraction transaction.

[0106] In this case, the transaction message requested by the user terminal 200 is forwarded to the contract wallet 100_3 (step B-3), and the contract wallet 100_3 reads the target contract. This address abstraction method is applicable to all DAPs that use existing address-based identifiers, and can increase compatibility between chains.

[0107] Next, Figure 5 shows a method for providing blockchain services on a blockchain network when an externally owned account is registered as a user blockchain identifier by granting ownership of a user NFT to an externally owned account in one embodiment of the present invention. Here, NFT refers to a digital asset that can indicate ownership on a blockchain network.

[0108] In the scenario of Figure 5, in step A-4, which is the user identifier registration step, the address abstraction smart contract 100_1 can generate a new NFT linked to the user identifier.

[0109] The biggest difference between this address abstraction method and the scenarios of Figures 3 and 4 is that there is no need to post an abstract transaction. Instead, the user terminal 200 can post a general transaction (step B-1) as in existing blockchain systems.

[0110] Next, the game smart contract 100_2 that received the general transaction requests the address abstraction smart contract 100_1 to verify the ownership of the NFT (step B-2), and if the ownership of the NFT is successfully verified (steps B-3 and B-4), the request included in the transaction message can be executed in the existing manner (step B-5). Here, the NFT acts as a user identifier to enable interaction with DAPs, and in this case, the blockchain user identifier is an externally owned account.

[0111] However, in the case of this address abstraction method, the address abstraction smart contract must verify the ownership of the NFT and confirm the user's identity, which increases the complexity of developing and running DAPPs and may not be compatible with existing DAPPs that do not consider NFT ownership verification. In other words, when using NFTs as a blockchain user identifier, costs can be reduced because a general transaction registration method is adopted, but there is a drawback in that compatibility is reduced, and the transaction abstraction procedure is omitted, which may reduce security.

[0112] FIG. 6 is a diagram illustrating a method for providing a user identity based on zero-knowledge proof in a blockchain network using a user certificate in a hybrid DAP in one embodiment of the present invention.

[0113] The web2-web3 hybrid application shown in Figure 6 integrates existing web-based systems and distributed technologies such as blockchain, and is frequently used in areas such as gaming as a high-performance yet cost-effective application. Such solutions can provide an improved user experience by combining the security and distributed nature of blockchain systems with the ease of use of fast centralized systems.

[0114] However, one of the main obstacles to the development of such hybrid applications is the fragmentation of user management due to the unique user identifier verification systems of the web2 and web3 systems. In response to this, the address abstraction smart contract of the present invention can be used as an alternative to the fragmentation of user management by uniformly expressing user identifiers in both web2 and web3 applications using a user certificate as shown in Figure 6.

[0115] That is, the present invention uses the same user certificate as a user identifier for a specific user in various web2 systems and various blockchain systems, eliminating the complexity of having to manage multiple user identifiers across various systems for a service provider. Therefore, the present invention can provide an identity authentication solution that can be useful for hybrid applications by generating a user identifier compatible with both web2 and web3 applications.

[0116] Next, FIG. 7 briefly compares a method of serving a user identifier in a conventional blockchain system with a method of serving a user identifier of the present invention.

[0117] As shown in Figure 7, a user identifier in a typical blockchain system used to identify and manage digital assets in the process of performing transactions on a blockchain is generated by an individual user for each blockchain and consists of a private key and a corresponding public key. Here, a user generates a signature value by signing a transaction message generated by the user with a private key that is not disclosed to the outside, and can prove the subject of the transaction by using a public key that is disclosed to the outside in the signature value, and a private key-public key pair generated for a specific blockchain cannot be used in other blockchains.

[0118] In response to this, the user identifier of the present invention, which was developed to solve the existing problems that arise when mapping an external user certificate to a user identifier for a blockchain, can be verified and used in a blockchain system based on zero-knowledge proof of a user certificate generated from a trusted web2 certification authority. Accordingly, in the present invention, a user can generate a user identifier from a user certificate and verify the validity of the user identifier through zero-knowledge proof without disclosing the contents of the user certificate, and a user identifier based on the same user certificate can be used in different blockchains. Although the method of providing a user identifier as in the present invention may incur additional costs in the process of distributing an address abstraction smart contract and generating and verifying a zero-knowledge-based proof value compared to conventional methods, it has high compatibility and security in that a user identifier can be generated and used based on zero-knowledge proof from various blockchains with only one user certificate.

[0119] The above-described embodiments of the present invention may be embodied in the form of program instructions that can be executed by various computer components and stored in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions stored in the computer-readable recording medium may be those specially designed and constructed for the present invention, or may be those known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions, such as ROMs, RAMs, flash memories, and the like. Examples of program instructions include not only machine language code, such as that produced by a compiler, but also high-level language code executed by a computer using an interpreter, and the like. The hardware devices may be configured to operate as one or more software modules to execute the processes of the present invention, and vice versa.

[0120] Although the present invention has been described above using specific details such as specific components and limited examples and drawings, this is provided merely to aid in a more general understanding of the present invention, and the present invention is not limited to the above examples. Various modifications and variations may be made from such descriptions by those having ordinary knowledge in the technical field to which the present invention pertains.

[0121] Therefore, the concept of the present invention should not be limited to the embodiments described above, and all modifications equivalent to or equivalent to the scope of the claims, as well as the scope of the claims described below, are within the concept of the present invention.

Claims

1. A method for providing a user identification service based on zero-knowledge proof in a blockchain network using a user certificate, (a) when a request for generating a user identifier for use in a blockchain network is obtained from a user terminal, an address abstraction smart contract running on a virtual machine of the blockchain network provides a user identifier generation interface to the user terminal, thereby causing the user terminal to generate a user identifier corresponding to a user certificate issued by a certification authority, and generating a user identifier proof value for proving that the user identifier has been generated from the user certificate and that the user certificate has been issued by the certification authority, using user identifier verification parameters disclosed based on zero-knowledge proof, the user identifier, a certification authority public key corresponding to the certification authority, and the user certificate; (b) when user identifier registration request information including the user identifier verification parameter, the user identifier, the public key of the certification authority, and the user identifier certification value is acquired from the user terminal, the address abstraction smart contract verifies the user identifier certification value using the user identifier verification parameter, the user identifier, the public key of the certification authority, and the user identifier certification value based on zero-knowledge proof, and when the user identifier certification value is verified, registers the user identifier as a valid identifier of a user; The method includes:

2. 2. The method of claim 1, wherein, in response to the user identifier being registered as the valid identifier of the user, the address abstraction smart contract performs one of the following processes: (i) a first process of registering the user identifier itself, which is an independent value, as a user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into a Non-Fungible Token (NFT) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

3. In the step (b), 2. The method of claim 1, wherein the address abstraction smart contract initializes a transaction sequence corresponding to the registered user identifier (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier to manage each specific transaction sequence performed by the each specific valid identifier) ​​to 0.

4. The method of claim 1, wherein the user identifier verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the user identifier based on zero-knowledge proof, and the address abstraction service provider stores the user identifier verification parameter in the blockchain network or in a storage location outside the blockchain network, thereby making the user identifier verification parameter readable by the address abstraction smart contract or the user identifier generation interface.

5. In the step (a), The method according to claim 1, characterized in that the user terminal receives the user certificate from the certification authority outside the blockchain and directly obtains the certification authority's public key from the certification authority, or, if the certification authority's public key of the certification authority is registered in the blockchain network, obtains the certification authority's public key from a storage location outside the blockchain network or from the blockchain network.

6. A method for providing a user identification service based on zero-knowledge proof in a blockchain network using a user certificate, (a) when a transaction registration request is obtained from a user terminal in a state where a user identifier generated using a user certificate issued by a certification authority is registered as a valid identifier of a user, an address abstraction smart contract running on a virtual machine of the blockchain network generates the user identifier corresponding to the user certificate using the user terminal by providing an abstracted transaction generation interface to the user terminal, and verifies that the user who transmitted the transaction message is the owner of the user identifier using abstracted transaction message verification parameters, the user identifier, the user certificate, a transaction message hash value which is a hash value of a transaction message including information on a transaction that the user intends to perform on the blockchain network, and a message sequence corresponding to the transaction message, which are disclosed based on zero-knowledge proof, and generates an abstracted transaction proof value for verifying the validity of the transaction message and the message sequence; (b) when an abstract transaction including the abstract transaction message verification parameter, the user identifier, the transaction message, the message sequence, and the abstract transaction proof value is obtained from the user terminal, the address abstraction smart contract verifies the abstract transaction proof value using the abstract transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstract transaction proof value based on zero-knowledge proof, and when the abstract transaction proof value is verified, transmits the transaction message to the block chain network to be executed, and registers an execution result of the abstract transaction as a transaction; The method includes:

7. In the step (a), 7. The method of claim 6, wherein the address abstraction smart contract is in a state of having performed one of the following processes in response to the user identifier being registered as the valid identifier of the user: (i) a first process of registering the user identifier itself, which is an independent value, as a user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into a Non-Fungible Token (NFT) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

8. The address abstraction smart contract initializes a transaction sequence corresponding to the registered user identifier (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier in order to manage each specific transaction sequence performed by the each specific valid identifier) ​​to 0; If the address abstraction smart contract has registered the user identifier itself or the wallet address matched to the user identifier as the user blockchain identifier using the first process or the second process, In the step (b), 8. The method of claim 7, wherein, upon receiving the abstracted transaction from the user terminal, the address abstraction smart contract (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction, (ii) if there is a user blockchain identifier corresponding to the user identifier, checks whether a value obtained by adding 1 to a specific transaction sequence corresponding to the received user identifier corresponds to the message sequence included in the abstracted transaction, and (iii) verifies the abstracted transaction proof value using the abstracted transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstracted transaction proof value based on a zero-knowledge proof, and if the abstracted transaction proof value is verified, (iv) updates the specific transaction sequence to a value corresponding to the message sequence, and transmits the transaction message to the blockchain network to be executed, thereby registering the execution result of the abstracted transaction as the transaction.

9. If the address abstraction smart contract has registered the externally owned account corresponding to the user identifier as the user blockchain identifier using the third process, In the step (a), When the transaction registration request including the transaction message is obtained from the user terminal, the address abstraction smart contract generates the user identifier corresponding to the user certificate using the user terminal, In the step (b), The method of claim 7, wherein, in response to the user terminal transmitting a transaction including the user identifier and the transaction message to a specific blockchain node intending to execute the transaction, when the address abstraction smart contract receives a verification request for the user identifier from the specific blockchain node, (i) confirms whether there is a user blockchain identifier corresponding to the user identifier included in the transaction, and (ii) if there is a user blockchain identifier corresponding to the user identifier, transmits the transaction message to the blockchain network to be executed, and registers an execution result for the transaction in the blockchain network.

10. The method of claim 6, wherein the abstracted transaction message verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the abstracted transaction based on a zero-knowledge proof, and the address abstraction service provider stores the abstracted transaction message verification parameter in the blockchain network or in a storage location external to the blockchain network, thereby making the address abstraction smart contract or the abstracted transaction generation interface readable.

11. In the step (a), The method of claim 6, wherein the user terminal includes in the transaction message information on a function signature corresponding to a function performed by the transaction, information on a target address on which the function is to be performed, information on a space in which data included as a factor when calling the function is located, and information on a cryptocurrency value used to perform the function.

12. In a blockchain system that uses a user certificate to provide a user identifier based on zero-knowledge proof in a blockchain network, at least one memory for storing instructions; at least one blockchain node including at least one processor configured to execute the instructions; The processor performs the following process: (I) when a request for generating a user identifier to be used in a blockchain network is obtained from a user terminal, the processor generates a user identifier corresponding to a user certificate issued by a certification authority using the user terminal by providing a user identifier generation interface to the user terminal through an address abstraction smart contract running on a virtual machine of the blockchain network, and generates a user identifier certification value for proving that the user identifier has been generated from the user certificate and that the user certificate has been issued by the certification authority, using user identifier verification parameters disclosed based on zero-knowledge proof, the user identifier, a certification authority public key corresponding to the certification authority, and the user certificate; and (II) when user identifier registration request information including the user identifier verification parameters, the user identifier, the certification authority public key, and the user identifier certification value is obtained from the user terminal, the processor performs the process of verifying the user identifier certification value using the user identifier verification parameters, the user identifier, the certification authority public key, and the user identifier certification value based on zero-knowledge proof through the address abstraction smart contract, and registering the user identifier as a valid identifier of a user when the user identifier certification value is verified.

13. (III) The blockchain system of claim 12, wherein the processor performs, in response to the user identifier being registered as the valid identifier of the user, one of the following: (i) a first process of registering the user identifier itself, which is an independent value, as the user blockchain identifier through the address abstraction smart contract; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into a Non-Fungible Token (NFT) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

14. In the process (II), The blockchain system of claim 12, characterized in that the processor initializes a transaction sequence corresponding to the user identifier registered through the address abstraction smart contract (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier to manage each specific transaction sequence performed by the each specific valid identifier) ​​to 0.

15. The blockchain system of claim 12, wherein the user identifier verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the user identifier based on zero-knowledge proof, and the address abstraction service provider stores the user identifier verification parameter in the blockchain network or in a storage location outside the blockchain network, making it readable by the address abstraction smart contract or the user identifier generation interface.

16. In the process (I), The blockchain system of claim 12, wherein the user terminal receives the user certificate from the certification authority outside the blockchain and directly obtains the certification authority's public key from the certification authority, or, if the certification authority's public key of the certification authority is registered in the blockchain network, obtains the certification authority's public key from a storage location outside the blockchain network or from the blockchain network.

17. In a blockchain system that uses a user certificate to provide a user identifier based on zero-knowledge proof in a blockchain network, at least one memory for storing instructions; at least one blockchain node including at least one processor configured to execute the instructions; The processor (I) generates the user identifier corresponding to the user certificate using the user terminal by providing an abstracted transaction generation interface to the user terminal through an address abstraction smart contract running on a virtual machine of the blockchain network when a transaction registration request is received from a user terminal in a state in which a user identifier generated using a user certificate issued by a certification authority is registered as a valid identifier of a user, and verifies that the user who transmitted the transaction message is the owner of the user identifier using abstracted transaction message verification parameters, the user identifier, the user certificate, a transaction message hash value which is a hash value of a transaction message including information on a transaction that a user intends to perform on the blockchain network, and a message sequence corresponding to the transaction message, which are disclosed based on zero-knowledge proof, and verifies that the user who transmitted the transaction message is the owner of the user identifier, and verifies the transaction message and the message sequence corresponding to the transaction message. and (II) when an abstracted transaction including the abstracted transaction message verification parameters, the user identifier, the transaction message, the message sequence, and the abstracted transaction proof value is obtained from the user terminal, the abstracted transaction proof value is verified using the abstracted transaction message verification parameters, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstracted transaction proof value based on zero-knowledge proof through the address abstraction smart contract, and when the abstracted transaction proof value is verified, the transaction message is transmitted to the blockchain network for execution, and an execution result of the abstracted transaction is registered as a transaction.

18. In the process (I), 18. The blockchain system of claim 17, wherein the processor is in a state of performing any one of the following processes through the address abstraction smart contract in response to the user identifier being registered as the valid identifier of the user: (i) a first process of registering the user identifier itself, which is an independent value, as a user blockchain identifier; (ii) a second process of generating a smart contract wallet controlled by the user identifier, matching the user identifier to a wallet address of the smart contract wallet, and registering the wallet address as the user blockchain identifier; and (iii) a third process of converting the user identifier into a Non-Fungible Token (NFT) to generate a user NFT, and granting ownership of the user NFT to an externally owned account, thereby registering the externally owned account as the user blockchain identifier.

19. The processor is in a state where a transaction sequence corresponding to the user identifier registered through the address abstraction smart contract (the transaction sequence is a transaction accumulation counter generated by the address abstraction smart contract for each specific valid identifier in order to manage each specific transaction sequence performed by the each specific valid identifier) ​​is initialized to 0; If the address abstraction smart contract has registered the user identifier itself or the wallet address matched to the user identifier as the user blockchain identifier using the first process or the second process, In the process (II), 20. The blockchain system of claim 18, wherein, upon receiving the abstracted transaction from the user terminal, the processor (i) checks whether there is a user blockchain identifier corresponding to the user identifier included in the abstracted transaction through the address abstraction smart contract, (ii) if there is a user blockchain identifier corresponding to the user identifier, checks whether a value obtained by adding 1 to a specific transaction sequence corresponding to the received user identifier corresponds to the message sequence included in the abstracted transaction, and (iii) verifies the abstracted transaction proof value using the abstracted transaction message verification parameter, the user identifier, the transaction message hash value which is the hash value for the transaction message, the message sequence, and the abstracted transaction proof value based on a zero-knowledge proof, and if the abstracted transaction proof value is verified, (iv) updates the specific transaction sequence to a value corresponding to the message sequence, and transmits the transaction message to the blockchain network to be executed, thereby registering the execution result of the abstracted transaction as the transaction.

20. If the address abstraction smart contract has registered the externally owned account corresponding to the user identifier as the user blockchain identifier using the third process, In the process (I), When the transaction registration request including the transaction message is received from the user terminal, the processor generates the user identifier corresponding to the user certificate using the user terminal; In the process (II), 20. The blockchain system of claim 18, wherein, when the user terminal receives a verification request for the user identifier from the specific blockchain node in response to transmitting a transaction including the user identifier and the transaction message to a specific blockchain node that intends to execute the transaction, the processor (i) checks through the address abstraction smart contract whether there is a user blockchain identifier corresponding to the user identifier included in the transaction, and (ii) if there is a user blockchain identifier corresponding to the user identifier, transmits the transaction message to the blockchain network for execution, and registers an execution result for the transaction in the blockchain network.

21. The blockchain system of claim 17, wherein the abstracted transaction message verification parameter is a common reference string generated by an address abstraction service provider that distributed the address abstraction smart contract to the blockchain network using a relationship value for registering the abstracted transaction based on a zero-knowledge proof, and the address abstraction service provider stores the abstracted transaction message verification parameter in the blockchain network or in a storage location outside the blockchain network, thereby making the address abstraction smart contract or the abstracted transaction generation interface readable.

22. In the process (I), The blockchain system of claim 17, wherein the user terminal includes, in the transaction message, information on a function signature corresponding to a function performed by the transaction, information on a target address on which the function is to be performed, information on a space in which data included as a factor when calling the function is located, and information on a cryptocurrency value used to perform the function.