First electronic device for generating smart contract set to perform wallet function, operating method thereof, and second electronic device for performing cryptocurrency transaction by using same smart contract
The use of a first electronic device to generate a smart contract for wallet functions within a blockchain network addresses the challenges of secure cryptocurrency transaction management and joint asset management, achieving secure and efficient transactions.
Patent Information
- Application Number
- PCT/KR2024/013967
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-04
- Filing Date
- 2024-09-13
- Publication Date
- 2025-03-20
AI Technical Summary
Existing blockchain-based systems for cryptocurrency transactions face challenges in securely managing wallet functions and performing transactions without relying on sensitive authentication information, which can lead to security risks and difficulties in joint management of cryptocurrency assets.
The implementation of a first electronic device that generates a smart contract for wallet functions, allowing for the creation of a first address and authentication information, which are then used to create a first smart contract in a blockchain network. This smart contract enables secure cryptocurrency transactions without the need for sensitive authentication information.
This solution enhances the security and management of cryptocurrency transactions by allowing transactions to be performed securely without relying on sensitive authentication information, while also enabling joint management of cryptocurrency assets among multiple electronic devices.
Smart Images

Figure KR2024013967_20032025_PF_FP_ABST
Abstract
Description
A first electronic device that generates a smart contract set to perform a wallet function, a method of operating the same, and a second electronic device that performs cryptocurrency transactions using the smart contract.
[0001] Various embodiments of the present disclosure relate to a first electronic device that generates a smart contract set to perform a wallet function, a method of operating the same, and a second electronic device that performs a cryptocurrency transaction using the smart contract.
[0002] Since the introduction of Bitcoin, which is based on blockchain, blockchain has been applied in various fields, including not only electronic money (cryptocurrency or virtual currency) systems like Bitcoin, but also platform provision services based on smart contracts, copyright management and transaction services through NFTs (non-fungible tokens), cloud storage services, and blockchain computing services.
[0003] Blockchain platforms make it virtually impossible to falsify or alter data (reliability) by having each participating member (node) store data in their own blocks, allowing each member to hold their own distributed information (transparency), and eliminating the need for a separate central server administrator.
[0004] According to an embodiment, a first electronic device (301) may include a communication circuit (340), at least one processor (320), and a memory (330) storing instructions. The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuit, a first registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302). The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a first address for a cryptocurrency transaction based on receiving the first registration request and the first authentication information. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, first transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transactions to the blockchain network (305) so as to generate a first smart contract (310) configured to perform a wallet function. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, registration information including the first address and the blockchain address of the first smart contract to the second electronic device based on confirmation that the first smart contract has been generated on the blockchain network.
[0005] According to an embodiment, a method of operating a first electronic device (301) may include an operation of receiving a first registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302). According to an embodiment, the method of operating the first electronic device may include an operation of generating a first address for the cryptocurrency transaction by the second electronic device based on receiving the first registration request and the first authentication information. According to an embodiment, the method of operating the first electronic device may include an operation of transmitting transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transaction to a blockchain network (305) so as to generate a first smart contract (310) configured to perform a wallet function in the blockchain network. According to an embodiment, the method of operating the first electronic device may include an operation of transmitting registration information including the first address and the blockchain address of the first smart contract to the second electronic device based on confirming that the first smart contract has been generated in the blockchain network.
[0006] According to one embodiment, an electronic device (302) may include a memory (380), a communication circuit (390), and a processor (370). According to one embodiment, the processor may be configured to verify transaction information for a cryptocurrency transaction. According to one embodiment, the processor may be configured to verify authentication information specified in the electronic device based on a user input. According to one embodiment, the processor may be configured to transmit the transaction information, an address for the electronic device to trade the cryptocurrency, and the authentication information to a blockchain network (305) in which a first smart contract (310) configured to perform a wallet function is stored. According to one embodiment, if the address and the authentication information of the electronic device are verified to match information previously stored in the first smart contract by the first smart contract, the cryptocurrency transaction may be completed by the smart contract. According to one embodiment, the cryptocurrency transaction may be performed based on the blockchain address and private key of the smart contract.
[0007] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0008] FIG. 2A is a diagram illustrating a method for an electronic device to transact cryptocurrency by recording transaction information on a blockchain network according to a comparative example.
[0009] FIG. 2B is a diagram illustrating a method for an electronic device to transact cryptocurrency by recording transaction information on a blockchain network according to one embodiment.
[0010] FIG. 3 is a block diagram of a system including a first electronic device, a second electronic device, and a blockchain network, according to one embodiment.
[0011] FIG. 4 is a flowchart illustrating a method for a first electronic device to create a first smart contract according to one embodiment.
[0012] FIG. 5 is a diagram illustrating a method for a first electronic device to create a first smart contract in a blockchain network according to one embodiment.
[0013] FIG. 6 is a diagram of a first smart contract configured to perform a wallet function, according to one embodiment.
[0014] FIG. 7 is a flowchart illustrating a method for a first electronic device to add an address of a new electronic device for trading cryptocurrency using a first smart contract to a first smart contract, according to one embodiment.
[0015] FIG. 8 is a flowchart illustrating a method for a first electronic device to add an address of a new electronic device that supports cryptocurrency transactions to a first smart contract, according to one embodiment.
[0016] FIG. 9 is a flowchart illustrating a method for a second electronic device to trade cryptocurrency using a first smart contract, according to one embodiment.
[0017] FIG. 10 is a diagram illustrating a method for a second electronic device to trade cryptocurrency using a first smart contract according to one embodiment.
[0018] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0019] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0020] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0021] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0022] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0023] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0024] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0025] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0026] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0027] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0028] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0029] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0030] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0031] The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0032] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0033] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0034] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0035] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0036] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0037] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0038] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0039] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0040] FIG. 2A is a diagram illustrating a method for an electronic device to transact cryptocurrency by recording transaction information on a blockchain network according to a comparative example.
[0041] Referring to FIG. 2A, according to a comparative example, an electronic device (201) can perform the functions of a blockchain electronic wallet (e.g., a cold wallet). For example, an application configured to perform the functions of a blockchain electronic wallet may be installed on the electronic device (201). The electronic device (201) can perform the functions of a blockchain electronic wallet (e.g., a cold wallet) through the application.
[0042] According to a comparative example, the electronic device (201) can transfer cryptocurrency to a designated blockchain address (or account). However, the present invention is not limited thereto, and the electronic device (201) can also request a transfer of cryptocurrency to a specific blockchain address (or account). For example, a blockchain address may refer to an identifier (or identification information) established for a user designated in a blockchain network (204) and capable of accessing transaction information stored in a server (208) or nodes of the blockchain network (204). For example, the blockchain address (or account) may be an address corresponding to a cryptocurrency account.
[0043] A blockchain address (or account) can correspond to a public key among a public key / private key pair generated through a multi-step process from a root seed, or can be generated from the public key. When a new transaction occurs, the electronic device (201) can digitally sign transaction information (or transaction data) using the private key paired with the public key associated with the address (or account) and transmit it to the blockchain network (204).
[0044] Sending cryptocurrency may differ from sending money to a regular bank account. For example, sending cryptocurrency may involve digitally signing transaction information (or transaction data) containing a receiving address, a sending address, and information related to the transfer (e.g., information on the amount to be transferred, the address of the smart contract handling the asset to be transferred, the amount, and the total balance selected) with a private key associated with the sending address and recording it on nodes of the blockchain network (204).
[0045] Blockchain wallets (e.g., cold wallets) require users to manage security information (e.g., private keys) for wallet recovery. Using this security information, users (or owners) of blockchain wallets can control and manage their cryptocurrency assets. Furthermore, these users can use this security information to recover their blockchain wallets or manage their cryptocurrency assets (e.g., transfer them) at any time.
[0046] However, because blockchain wallet recovery relies on user-managed security information (e.g., private keys), there is a risk that cryptocurrency assets may be lost if this information is lost or leaked. To mitigate this, entrusting security information to a specific company may be necessary, but this could expose the company to risks such as hacking or business closure.
[0047] In blockchain electronic wallets, only the user (or owner) can initiate transactions. This can make shared management of cryptocurrency assets difficult. Therefore, a method for jointly managing cryptocurrency assets across multiple users' electronic devices may be needed.
[0048] FIG. 2B is a diagram illustrating a method for an electronic device to transact cryptocurrency by recording transaction information on a blockchain network according to one embodiment.
[0049] Referring to FIG. 2B, according to one embodiment, an electronic device (202) may generate a cryptocurrency transaction using a smart contract (210) configured to perform a wallet function stored in nodes included in a blockchain network (205). For example, the electronic device (202) may transmit an address designated in the electronic device (202) (e.g., an address for the electronic device (202) to trade cryptocurrency), transaction information for the transaction, and authentication information to the blockchain network (205). At least one node (e.g., a pre-designated node or a builder node) among the nodes included in the blockchain network (205) may call the smart contract (210) upon confirming the transaction information. If the authentication information is confirmed to match the pre-designated authentication information, the smart contract (210) may add or store a new block in which the transaction information is recorded in the nodes included in the blockchain network (205). At this time, the smart contract (210) can add or store a new block in which transaction information is recorded in nodes included in the blockchain network (205) using a signature based on the blockchain address of the smart contract (210) and the private key of the smart contract (210). For example, the blockchain address of the smart contract (205) may be different from the address specified in the electronic device (202) (e.g., an address for the electronic device (202) to trade cryptocurrency). When transaction information is stored in nodes included in the blockchain network (205), a cryptocurrency transaction corresponding to the transaction information can be completed.
[0050] According to one embodiment, an electronic device (202) may initiate a cryptocurrency transaction using a smart contract (210) without a signature based on a blockchain address and private key of a blockchain network (205). To this end, multiple electronic devices, including the electronic device (202), may generate, recover, or change addresses for cryptocurrency transactions in a complementary manner. For example, one of the multiple electronic devices (e.g., the first electronic device (202)) may perform a cryptocurrency transaction using an address for cryptocurrency transactions. At this time, one of the multiple electronic devices (e.g., the first electronic device (202)) may request a cryptocurrency transaction to a smart contract (210) configured to perform a wallet function using the address. Another electronic device of the multiple electronic devices may recover or change an address for cryptocurrency transactions using an address supporting cryptocurrency transactions. At this time, the other electronic device may register (e.g., add or update) an address for cryptocurrency transactions to a smart contract (210) configured to perform a wallet function using the address.
[0051] Through the above-described method, cryptocurrency asset owners can manage their assets even if their security information (e.g., private keys) is lost or leaked. Below, the complementary operations associated with cryptocurrency transactions performed by multiple electronic devices will be described in more detail.
[0052] FIG. 3 is a block diagram of a system including a first electronic device, a second electronic device, and a blockchain network, according to one embodiment.
[0053] Referring to FIG. 3, according to one embodiment, the first electronic device (301) may include a processor (320), a memory (330), and a communication circuit (340). For example, the first electronic device (301) may be implemented identically or similarly to the electronic device (101, 102, or 104) of FIG. 1.
[0054] According to an embodiment, the first electronic device (301) may perform a function for supporting cryptocurrency transactions (e.g., a support role) and / or an address generation function for cryptocurrency transactions. The address generation function for cryptocurrency transactions may be included in the function for supporting cryptocurrency transactions. For example, the address generation function for cryptocurrency transactions may include a function for generating an address through which another electronic device (e.g., a second electronic device (302)) can trade cryptocurrency. Depending on the implementation, the first electronic device (301) may continuously generate new addresses through which another electronic device (e.g., a second electronic device (302)) can trade cryptocurrency. For example, the first electronic device (301) may store an application for supporting cryptocurrency transactions (e.g., a decentralized recoverable wallet (DRW) application) in the memory (330). The first electronic device (301) may perform a function for supporting cryptocurrency transactions using the application.
[0055] According to one embodiment, the processor (320) may control the overall operation of the first electronic device (301). For example, the processor (320) may be implemented identically or similarly to the processor (120) of FIG. 1.
[0056] According to one embodiment, the processor (320) may perform functions related to supporting cryptocurrency transactions so that the second electronic device (302) can generate cryptocurrency transactions.
[0057] According to one embodiment, the processor (320) may request the creation of a smart contract (310) (hereinafter, a first smart contract) configured to perform a wallet function on the blockchain network (305) through a communication circuit (340) (e.g., a communication module (190) of FIG. 1).
[0058] According to one embodiment, when a request from a second electronic device (302) (e.g., a request to register an address for a cryptocurrency transaction in a first smart contract) is received and confirmed, the processor (320) may generate a first address for the second electronic device (302) to issue a cryptocurrency transaction. For example, the first address may be different from a blockchain address for generating a transaction in an actual blockchain network (305). Depending on the implementation, the processor (320) may generate the first address based on an address format (or address type) used in the corresponding blockchain network (305). For example, the processor (320) may generate a first address having a random value that matches the address format (or address type) used in the corresponding blockchain network (305).
[0059] According to one embodiment, the processor (320) may receive authentication information (or identification information) of the second electronic device (302) from the second electronic device (302). For example, the authentication information may be information for identifying the second electronic device (302) or a user of the second electronic device (302). For example, the authentication information (or identification information) may include various forms of information for identifying the second electronic device (302) or a user of the second electronic device (302). For example, the authentication information may include pre-specified data, a pre-specified value (e.g., a PIN number), a pre-specified pattern, and / or biometric information of the user (e.g., fingerprint information or iris information).
[0060] According to one embodiment, the processor (320) may generate an address of the first electronic device (301). For example, the address of the first electronic device (301) may be an address used to register, restore, add, or change an address for cryptocurrency transactions in the first smart contract (310). For example, the address of the first electronic device (301) may be different from a blockchain address for generating a transaction in an actual blockchain network (305). Depending on the implementation, the processor (320) may generate the address of the first electronic device (301) based on an address type (or address format) used in the corresponding blockchain network (305). For example, the processor (320) may generate an address of the first electronic device (301) having a random value that matches the address type (or address format) used in the corresponding blockchain network (305).
[0061] According to one embodiment, the processor (320) may request the creation of a first smart contract (310) by transmitting authentication information, a first address, and the address of the second electronic device (302) received from the second electronic device (302) to the blockchain network (305) via the communication circuit (340).
[0062] According to one embodiment, the processor (320) may confirm that a first smart contract (310) is created in the blockchain network (305). For example, the processor (320) may access the blockchain network (305) via the communication circuit (340) and confirm that the first smart contract (310) is created in the blockchain network (305). Alternatively, the processor (320) may confirm that the first smart contract (310) is created in the blockchain network (305) via information received from the blockchain network (305) (e.g., information indicating that the first smart contract (310) is created).
[0063] According to one embodiment, when the processor (320) accesses the blockchain network (305) and confirms that a first smart contract (310) has been created in the blockchain network (305), the processor (320) may transmit registration information including a first address and a blockchain address of the first smart contract (310) (e.g., information that generates an actual transaction) to the second electronic device (302) via the communication circuit (340).
[0064] According to one embodiment, when the processor (320) receives and confirms a request from the second electronic device (302) (e.g., a request to register a new address for cryptocurrency trading in the first smart contract (310)) or a request from another electronic device (e.g., a third electronic device) (e.g., a request to register a new address for cryptocurrency trading in the first smart contract (310), the second electronic device (302) or the other electronic device may generate a new address for issuing a cryptocurrency transaction. In addition, the processor (320) may add the new address to the first smart contract (310). When the new address is added to the first smart contract (310), the electronic device (e.g., the second electronic device (302) or the other electronic device) may use the new address to generate a cryptocurrency transaction.
[0065] According to one embodiment, when a request (e.g., a request to register a new address for cryptocurrency transaction support in the first smart contract (310)) from another electronic device (e.g., a fourth electronic device) is received and confirmed, the processor (320) may generate a new address for the other electronic device (e.g., the fourth electronic device) to perform functions related to cryptocurrency transaction support. In addition, the processor (320) may add the new address to the first smart contract (310). When the new address is added to the first smart contract (310), the electronic device (e.g., the fourth electronic device) may use the new address to perform functions related to cryptocurrency transaction support.
[0066] According to one embodiment, the second electronic device (302) may include a processor (370), a memory (380), and a communication circuit (390). For example, the second electronic device (302) may be implemented identically or similarly to the electronic device (101, 102, or 104) of FIG. 1.
[0067] According to one embodiment, the second electronic device (302) may perform a function (e.g., an active role) for cryptocurrency transactions. For example, the second electronic device (302) may store an application for cryptocurrency transactions (e.g., a decentralized recoverable wallet (DRW) application) in the memory (380). The second electronic device (302) may perform a function of issuing a cryptocurrency transaction using the application.
[0068] According to one embodiment, the processor (370) may control the overall operation of the second electronic device (302). For example, the processor (370) may be implemented identically or similarly to the processor (120) of FIG. 1.
[0069] According to one embodiment, the processor (370) may obtain a first address and a blockchain address of a first smart contract (310) from the first electronic device (301). The processor (370) may transmit transaction information for generating a cryptocurrency transaction, the first address, and authentication information designated in the first electronic device (301) to the blockchain network (305) through a communication circuit (390) (e.g., the communication module (190) of FIG. 1). At least one node (e.g., a pre-designated node) among the nodes included in the blockchain network (305) may call the first smart contract (310) upon confirming the transaction information. If the first address and authentication information transmitted from the second electronic device (302) are confirmed to match pre-stored information, the first smart contract (310) may add or store a new block in which the transaction information is recorded to the nodes included in the blockchain network (305). Through this, a transaction corresponding to transaction information can occur in the blockchain network (305).
[0070] According to one embodiment, the blockchain network (305) may include a plurality of nodes (e.g., various types of electronic devices). For example, the blockchain network (305) may be implemented as blockchain networks of various types or forms. A first smart contract (310) configured to perform a blockchain wallet function may be stored in each of the plurality of nodes. For example, at least one node (e.g., a designated node) among the plurality of nodes may call the first smart contract (310) based on transaction information transmitted from the first electronic device (301) or the second electronic device (302). Thereafter, the first smart contract (310) may perform a function corresponding to the transaction information transmitted from the first electronic device (301) or the second electronic device (302).
[0071] At least some of the operations of the first electronic device (301) described below may be performed by the processor (320). In addition, at least some of the operations of the second electronic device (302) may be performed by the processor (370). However, for convenience of explanation, the subjects of the operations will be described as the first electronic device (301) and the second electronic device (302).
[0072] FIG. 4 is a flowchart illustrating a method for a first electronic device to create a first smart contract according to one embodiment.
[0073] In one embodiment, in operation 401, a first electronic device (e.g., the first electronic device (301) of FIG. 3, a support role (SR) device, or a device generating an address for a cryptocurrency transaction) may receive a registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302) from a second electronic device (e.g., the second electronic device (302) of FIG. 3, an active role (AR) device, or a device requesting a cryptocurrency transaction). For example, the first authentication information may indicate authentication information (or identification information) specified for the second electronic device (302).
[0074] In one embodiment, in operation 403, the first electronic device (301) may generate a first address for the second electronic device (302) to transact cryptocurrency. For example, the first address may be different from a blockchain address for generating a transaction in an actual blockchain network (305).
[0075] According to one embodiment, in operation 405, the first electronic device (301) may transmit transaction information including a first address, first authentication information, and an address of a second electronic device to the blockchain network (305) to create a first smart contract (e.g., the first smart contract (310) of FIG. 3) configured to perform a cryptocurrency wallet function on the blockchain network (e.g., the blockchain network (305) of FIG. 3).
[0076] According to one embodiment, in operation 407, the first electronic device (301) may transmit registration information including the first address and the blockchain address of the first smart contract to the second electronic device (302) based on verifying that the first smart contract (310) has been created on the blockchain network (305).
[0077] According to the method described above, the first electronic device (301) can create a first smart contract (310) configured to perform a cryptocurrency wallet function in the blockchain network (305). That is, the first electronic device (301) can create a first smart contract (310) in the blockchain network (305) that allows the second electronic device (302) to generate a cryptocurrency transaction without security information (e.g., a private key). Through this, the second electronic device (302) can generate a cryptocurrency transaction without security information (e.g., a private key).
[0078] FIG. 5 is a diagram illustrating a method for a first electronic device to create a first smart contract in a blockchain network according to one embodiment.
[0079] In one embodiment, in operation 501, a second electronic device (e.g., the second electronic device (302) of FIG. 3, an active role (AR) device, or a device requesting a cryptocurrency transaction) may transmit a registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302) to a first electronic device (e.g., the first electronic device (301) of FIG. 3, a support role (SR) device, or a device generating an address for a cryptocurrency transaction).
[0080] According to one embodiment, in operation 503, the first electronic device (301) can verify the first authentication information of the second electronic device (302).
[0081] According to one embodiment, in operation 505, the first electronic device (301) may generate a first address for a cryptocurrency transaction of the second electronic device (302) when the first authentication information is verified.
[0082] According to one embodiment, in operation 507, the first electronic device (301) may transmit a first address, first authentication information, and the address of the first electronic device (301) to the blockchain network (305). In addition, the first electronic device (301) may request the creation of a first smart contract (310) configured to perform a cryptocurrency wallet function on the blockchain network (305) while transmitting the first address, first authentication information, and the address of the first electronic device (301).
[0083] According to one embodiment, in operation 509, the blockchain network (305) (or nodes included in the blockchain network (305)) may generate a first smart contract (310). For example, the operation of generating the first smart contract may include an operation of storing information about the first smart contract in nodes included in the blockchain network (305). When the first smart contract (310) is generated, a blockchain address for generating a cryptocurrency transaction using the first smart contract (310) may also be generated.
[0084] According to one embodiment, in operation 511, the first electronic device (301) can confirm that a first smart contract (310) has been created. Additionally, the first electronic device (301) can confirm the blockchain address of the first smart contract (310).
[0085] According to one embodiment, in operation 513, the first electronic device (301) may transmit registration information including the first address and the blockchain address of the first smart contract (310) to the second electronic device (302). Thereafter, the second electronic device (302) may perform an operation related to a cryptocurrency transaction using the first address. In addition, the second electronic device (302) may use the blockchain address of the first smart contract (310) to inquire or confirm information about the cryptocurrency asset (e.g., balance, quantity, type, and / or transaction history).
[0086] According to the method described above, the first electronic device (301) can create a first smart contract (310) configured to perform a cryptocurrency wallet function in the blockchain network (305). That is, the first electronic device (301) can create a first smart contract (310) in the blockchain network (305) that allows the second electronic device (302) to generate a cryptocurrency transaction without security information (e.g., a private key). Through this, the second electronic device (302) can generate a cryptocurrency transaction without security information (e.g., a private key).
[0087] FIG. 6 is a diagram of a first smart contract configured to perform a wallet function, according to one embodiment.
[0088] Referring to FIG. 6, according to one embodiment, the first smart contract (310) may include a smart contract configured to perform blockchain electronic wallet (e.g., cold wallet) functions. For example, the first smart contract (310) may include codes configured to perform functions related to cryptocurrency transactions. Additionally, the first smart contract (310) may store data (e.g., whitelist addresses, authentication information for cryptocurrency transactions) for performing functions related to cryptocurrency transactions.
[0089] According to one embodiment, the first smart contract (310) may include an address storage unit (610), an authentication information storage unit (620), and a processing unit (630). For example, each of the address storage unit (610), the authentication information storage unit (620), and the processing unit (630) may be a set of codes.
[0090] According to one embodiment, the address storage unit (610) may store a first address received from a first electronic device (e.g., the first electronic device (301) of FIG. 3) and the address of the first electronic device (301). For example, the addresses stored in the address storage unit (610) may be addresses corresponding to a whitelist. The first smart contract (310) may only perform functions related to cryptocurrency transactions requested by electronic devices corresponding to the addresses stored in the address storage unit (610).
[0091] According to one embodiment, the authentication information storage unit (620) may determine authentication information (hereinafter, “first authentication information”) of a second electronic device (e.g., the second electronic device (302) of FIG. 3) received from a first electronic device (e.g., the first electronic device (301) of FIG. 3). The first smart contract (310) may perform a function related to a cryptocurrency transaction requested by an electronic device corresponding to the authentication information stored in the authentication information storage unit (620).
[0092] According to one embodiment, the processing unit (630) can check whether the address and authentication information requesting a cryptocurrency transaction match the information previously stored in the address storage unit (610) and the authentication information storage unit (620).
[0093] According to one embodiment, the processing unit (630) may include an address verification unit (640) and an authentication information verification unit (650).
[0094] According to one embodiment, the address verification unit (640) may verify whether the address of the first electronic device (301) or the second electronic device (302) requesting a new transaction matches the address stored in the address storage unit (610). If the processing unit (630) verifies that the address of the first electronic device (301) or the second electronic device (302) matches the address stored in the address storage unit (610), the processing unit (630) may perform functions related to the cryptocurrency transaction requested by the electronic device. On the other hand, if the addresses do not match, the processing unit (630) may not perform functions related to the cryptocurrency transaction requested by the electronic device.
[0095] According to one embodiment, the authentication information verification unit (650) may verify whether the authentication information received from the second electronic device (302) that requested the generation of a new transaction (or transactions) matches the address stored in the authentication information storage unit (620). If the processing unit (630) verifies that the authentication information received from the second electronic device (302) matches the address stored in the authentication information storage unit (620), the processing unit (630) may perform functions related to the cryptocurrency transaction requested by the second electronic device (302). On the other hand, if the authentication information does not match, the processing unit (630) may not perform functions related to the cryptocurrency transaction requested by the electronic device.
[0096] According to one embodiment, if it is confirmed that the addresses and the authentication information all match, the processing unit (630) may generate a new transaction (or transactions) in the blockchain network (305) using the blockchain address specified in the first smart contract (310). At this time, the processing unit (630) may generate a new transaction (or transactions) in the blockchain network (305) by entering a signature based on the private key of the first smart contract (310) into the transaction information received from the second electronic device (302).
[0097] According to the method described above, the second electronic device (302) can generate a cryptocurrency transaction in the blockchain network (305) using the first smart contract (310).
[0098] FIG. 7 is a flowchart illustrating a method for a first electronic device to add an address of a new electronic device for trading cryptocurrency using a first smart contract to a first smart contract, according to one embodiment.
[0099] In one embodiment, if a second electronic device (e.g., the second electronic device (302) of FIG. 3) is lost or reset, a new third electronic device (303) may be determined as an electronic device (e.g., an active role (AR) device) for cryptocurrency transactions. For example, the third electronic device (303) may be implemented identically or similarly to the electronic device (101, 102, or 104) of FIG. 1.
[0100] According to one embodiment, in operation 702, the third electronic device (303) may transmit a registration request for a new address for cryptocurrency transactions and second authentication information of the third electronic device (303) to the first electronic device (e.g., the first electronic device (301) of FIG. 3 , a support role (SR) device). For example, the second authentication information may include information for authenticating or identifying the third electronic device (303).
[0101] According to one embodiment, in operation 703, the first electronic device (301) can verify the second authentication information of the third electronic device (303).
[0102] According to one embodiment, in operation 705, if the second authentication information is verified, the first electronic device (301) may generate a new address (hereinafter, “second address”) for cryptocurrency transactions of the third electronic device (303). For example, the method for generating the second address may be implemented in the same or similar manner as the method for generating the first address.
[0103] In one embodiment, in operation 707, the first electronic device (301) may transmit a second address and second authentication information to the blockchain network (305). Depending on the implementation, the first electronic device (301) may also transmit the address of the first electronic device (301) to the blockchain network (305). The first electronic device (301) may request the first smart contract (310) to update (or add) the second address and second authentication information while transmitting the second address and second authentication information (and the address of the first electronic device (301)).
[0104] According to one embodiment, in operation 709, the blockchain network (305) (or nodes included in the blockchain network (305)) may update (or add) a second address and second authentication information to the first smart contract (310). For example, the first smart contract (310) may store the second address in an address storage unit (e.g., the address storage unit (610) of FIG. 6) and store the second authentication information in an authentication information storage unit (e.g., the authentication information storage unit (620) of FIG. 6).
[0105] According to one embodiment, in operation 711, the first electronic device (301) may confirm that the first smart contract (310) is updated. For example, the first electronic device (301) may access the blockchain network (305) to confirm that the first smart contract (310) is updated. Alternatively, the first electronic device (301) may confirm that the first smart contract (310) is updated through information indicating that the first smart contract (310) is updated received from the blockchain network (305).
[0106] According to one embodiment, in operation 713, the first electronic device (301) may transmit registration information including the second address and the blockchain address of the first smart contract (310) to the third electronic device (303). Thereafter, the third electronic device (303) may perform an operation related to a cryptocurrency transaction using the second address. In addition, the third electronic device (303) may use the blockchain address of the first smart contract (310) to inquire or confirm information about the cryptocurrency asset (e.g., balance, quantity, type, and / or transaction history).
[0107] In another embodiment, when the second electronic device (302) is initialized, the existing second electronic device (302) may be determined as an electronic device for cryptocurrency transactions. The second electronic device (302) may transmit a registration request for a new address for cryptocurrency transactions and authentication information (e.g., the first authentication information or new authentication information) of the second electronic device (302) to the first electronic device (301). When the authentication information of the second electronic device (302) is confirmed, the first electronic device (301) may generate a new address for cryptocurrency transactions of the second electronic device (302). The first electronic device (301) may transmit the new address and authentication information to the blockchain network (305). While transmitting the new address and authentication information, the first electronic device (301) may request the first smart contract (310) to update (or add) the new address and authentication information. When the first electronic device (301) confirms that the first smart contract (310) has been updated, it can transmit registration information including the new address and the blockchain address of the first smart contract (310) to the second electronic device (302). Thereafter, the second electronic device (302) can perform operations related to cryptocurrency transactions using the new address.
[0108] According to the method described above, even if the second electronic device (302) is lost or initialized, the first electronic device (301) can transmit a new address for managing or trading cryptocurrency to an existing device (e.g., the second electronic device (302)) or a new device (e.g., the third electronic device (303)). Through this, a user can manage cryptocurrency assets using an existing electronic device (e.g., the second electronic device (302)) or a new electronic device (e.g., the third electronic device (303)) even without security information (e.g., a private key).
[0109] FIG. 8 is a flowchart illustrating a method for a first electronic device to add an address of a new electronic device that supports cryptocurrency transactions to a first smart contract, according to one embodiment.
[0110] According to one embodiment, a new fourth electronic device (304) may be determined as an electronic device (e.g., a support role (SR) device) for supporting cryptocurrency transactions. For example, the fourth electronic device (304) may be implemented in a manner identical to or similar to the electronic device (101, 102, or 104) of FIG. 1.
[0111] According to one embodiment, in operation 801, the fourth electronic device (304) may transmit a request for registration of a new address for supporting cryptocurrency transactions to the first electronic device (e.g., the first electronic device (301) of FIG. 3, a support role (SR) device).
[0112] According to one embodiment, in operation 803, the first electronic device (301) may generate a new address (hereinafter, a third address) for supporting cryptocurrency transactions of the fourth electronic device (304). For example, the method for generating the third address may be implemented in the same or similar manner as the method for generating the first address.
[0113] In one embodiment, at step 805, the first electronic device (301) may transmit a third address to the blockchain network (305). Depending on the implementation, the first electronic device (301) may also transmit the address of the first electronic device (301) to the blockchain network (305). The first electronic device (301) may request the first smart contract (310) to update (or add) the third address while transmitting the third address (and the address of the first electronic device (301)).
[0114] According to one embodiment, in operation 807, the blockchain network (305) (or nodes included in the blockchain network (305)) may update (or add) a third address to the first smart contract (310). For example, the first smart contract (310) may store the third address in an address storage unit (e.g., the address storage unit (610) of FIG. 6).
[0115] According to one embodiment, in operation 809, the first electronic device (301) may confirm that the first smart contract (310) is updated. For example, the first electronic device (301) may access the blockchain network (305) to confirm that the first smart contract (310) is updated. Alternatively, the first electronic device (301) may confirm that the first smart contract (310) is updated through information indicating that the first smart contract (310) is updated received from the blockchain network (305).
[0116] According to one embodiment, in operation 811, the first electronic device (301) may transmit registration information including a third address to a fourth electronic device (304). Thereafter, the fourth electronic device (304) may perform an operation related to supporting cryptocurrency transactions using the third address.
[0117] In one embodiment, when the third address of the fourth electronic device (304) is added to the first smart contract, both the first electronic device (301) and the fourth electronic device (304) may perform operations related to supporting cryptocurrency transactions. Alternatively, depending on the implementation, when the third address of the fourth electronic device (304) is added to the first smart contract, the first smart contract (310) may delete the address of the first electronic device (301) from the address storage (610) so that only the fourth electronic device (304) may perform operations related to supporting cryptocurrency transactions.
[0118] FIG. 9 is a flowchart illustrating a method for a second electronic device to trade cryptocurrency using a first smart contract, according to one embodiment.
[0119] In one embodiment, a second electronic device (e.g., the second electronic device (302) of FIG. 3) may generate a transaction of a new cryptocurrency after receiving the first address and the blockchain address of the first smart contract.
[0120] According to one embodiment, in operation 901, the second electronic device (302) may verify transaction information for a cryptocurrency transaction. For example, the transaction information may include the blockchain address of the counterparty trading cryptocurrency, the amount of cryptocurrency to be traded, and / or information regarding the type of cryptocurrency. The second electronic device (302) may verify the transaction information based on a message received from an external source. Alternatively, the second electronic device (302) may verify the transaction information based on a user input.
[0121] According to one embodiment, in operation 903, the second electronic device (302) may verify authentication information specified to the second electronic device (302) based on a user input. For example, the authentication information may include a specified value (e.g., a PIN number), a specified pattern, and / or biometric information of the user.
[0122] According to one embodiment, in operation 905, the second electronic device (302) may transmit transaction information, a first address for the electronic device to trade cryptocurrency, and authentication information of the first electronic device to a blockchain network (e.g., the blockchain network (305) of FIG. 3) in which a first smart contract (e.g., the first smart contract (310) of FIG. 3) configured to perform a wallet function is stored. For example, the second electronic device (302) may transmit transaction information including the transaction information and the first address and the authentication information of the first electronic device to the blockchain network (305) to request the occurrence of a new transaction on the blockchain network (305).
[0123] According to one embodiment, at least one node (e.g., a pre-designated node or a builder node) among the nodes included in the blockchain network (305) may call the first smart contract (310) upon confirming the corresponding transaction information. If the first smart contract (310) confirms that the authentication information received from the second electronic device matches the pre-stored authentication information, the first smart contract (310) may add or store a new block in which the corresponding transaction information is recorded to the nodes included in the blockchain network (305). At this time, the first smart contract (310) may use the blockchain address of the first smart contract (310) and a signature based on the private key of the first smart contract (310) to add or store the new block in which the corresponding transaction information is recorded to the nodes included in the blockchain network (305). When the corresponding transaction information is stored in the nodes included in the blockchain network (305), a transaction of cryptocurrency corresponding to the transaction information may be completed.
[0124] Through the above-described method, the second electronic device (302) can generate a transaction of a new cryptocurrency in the blockchain network (305) using the first smart contract (310).
[0125] FIG. 10 is a diagram illustrating a method for a second electronic device to trade cryptocurrency using a first smart contract according to one embodiment.
[0126] Referring to FIG. 10, according to one embodiment, in operation 1001, the second electronic device (302) may verify transaction information for a cryptocurrency transaction. For example, the transaction information may include information about the blockchain address of the counterparty trading cryptocurrency, the amount of cryptocurrency to be traded, and / or the type of cryptocurrency.
[0127] In one embodiment, in operation 1003, the second electronic device (302) may verify authentication information based on user input.
[0128] In one embodiment, in operation 1005, the second electronic device (302) may request the occurrence of a new cryptocurrency transaction on the blockchain network (305) by providing the address, transaction information, and authentication information for the second electronic device (302) to transact cryptocurrency to the first smart contract (310).
[0129] In one embodiment, in operation 1007, the first smart contract (310) may verify the address and authentication information provided by the second electronic device (302). For example, the first smart contract (310) may verify whether the address and authentication information provided by the second electronic device (302) match pre-stored information.
[0130] According to one embodiment, if it is confirmed that the address and authentication information provided by the second electronic device (302) match the information pre-stored in the first smart contract (310), in operation 1009, the first smart contract (310) may transmit transaction information corresponding to the transaction information and the signature information of the first smart contract (310) to the blockchain network (305) (or nodes included in the blockchain network (305).
[0131] According to one embodiment, in operation 1011, the blockchain network (305) (or nodes included in the blockchain network (305)) may perform a cryptocurrency transaction by recording a new block containing the corresponding transaction information.
[0132] According to one embodiment, in operation 1013, the first smart contract (310) may confirm the completion of a cryptocurrency transaction. According to one embodiment, in operation 1015, the second electronic device (302) may receive information indicating the result of the cryptocurrency transaction (or information indicating the completion of the transaction) from the first smart contract (310).
[0133] Through the above-described method, the second electronic device (302) can initiate a new cryptocurrency transaction on the blockchain network (305) using the first smart contract (310). Furthermore, the second electronic device (302) can initiate a new cryptocurrency transaction on the blockchain network (305) using the first smart contract (310) even without storing and utilizing security information (e.g., a private key) on its own. Through this, the second electronic device (302) can manage and conduct transactions of cryptocurrency assets even if the private key is lost or leaked.
[0134] According to an embodiment, a first electronic device (301) may include a communication circuit (340), at least one processor (320), and a memory (330) storing instructions. The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuit, a first registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302). The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a first address for a cryptocurrency transaction based on receiving the first registration request and the first authentication information. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, first transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transactions to the blockchain network (305) so as to generate a first smart contract (310) configured to perform a wallet function. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, registration information including the first address and the blockchain address of the first smart contract to the second electronic device based on confirmation that the first smart contract has been generated on the blockchain network.
[0135] The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to verify the address of the first electronic device based on receiving the registration request from the first electronic device through the communication circuit.
[0136] The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to generate the first address based on an address format of the blockchain network.
[0137] According to one embodiment, the first address may be different from the address of the first smart contract.
[0138] According to one embodiment, the first smart contract may store the first address and the first authentication information.
[0139] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuit, a second registration request for a new address for a cryptocurrency transaction and second authentication information of the second electronic device from a second electronic device. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to generate, based on receiving the second registration request and the second authentication information, a second address for the cryptocurrency transaction by the second electronic device. In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, the second address and the second authentication information to the blockchain network so as to update the first smart contract with the second address and the second authentication information. The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit registration information including the second address and the blockchain address of the first smart contract to the second electronic device through the communication circuit based on the electronic device confirming that the second address and the second authentication information have been updated in the first smart contract.
[0140] The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuit, a third registration request for a new address for a cryptocurrency transaction and third authentication information of the third electronic device (303). The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a third address for the cryptocurrency transaction based on receiving the third registration request and the third authentication information. The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit the third address and the third authentication information to the blockchain network through the communication circuit so as to update the third address and the third authentication information in the first smart contract. The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit registration information including the third address and the blockchain address of the first smart contract to the third electronic device through the communication circuit based on the electronic device confirming that the third address and the third authentication information have been updated in the first smart contract.
[0141] The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit information about the address of the first electronic device to the blockchain network to update the third address and the third authentication information in the first smart contract.
[0142] The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuit, a fourth registration request for a new address for recovering cryptocurrency from a fourth electronic device (304). The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to generate a fourth address for recovering cryptocurrency based on receiving the fourth registration request. The instructions according to an embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, through the communication circuit, transaction information including the fourth address to the blockchain network to update the fourth address in the first smart contract. The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit registration information including the fourth address and the blockchain address of the first smart contract to the fourth electronic device through the communication circuit based on the electronic device confirming that the fourth address has been updated in the first smart contract.
[0143] According to an embodiment, a method of operating a first electronic device (301) may include an operation of receiving a first registration request for an address for a cryptocurrency transaction and first authentication information of the second electronic device (302). According to an embodiment, the method of operating the first electronic device may include an operation of generating a first address for the cryptocurrency transaction by the second electronic device based on receiving the first registration request and the first authentication information. According to an embodiment, the method of operating the first electronic device may include an operation of transmitting transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transaction to a blockchain network (305) so as to generate a first smart contract (310) configured to perform a wallet function in the blockchain network. According to an embodiment, the method of operating the first electronic device may include an operation of transmitting registration information including the first address and the blockchain address of the first smart contract to the second electronic device based on confirming that the first smart contract has been generated in the blockchain network.
[0144] The method of operating the first electronic device according to one embodiment may further include an operation of verifying the second address based on receiving the registration request from the first electronic device.
[0145] The operation of generating the first address according to one embodiment may include an operation of generating the first address based on an address format of the blockchain network.
[0146] According to one embodiment, the operating method of the first electronic device may further include an operation of receiving a second registration request for a new address for cryptocurrency trading from a second electronic device and second authentication information of the second electronic device. According to one embodiment, the operating method of the first electronic device may further include an operation of generating a second address for cryptocurrency trading by the second electronic device based on receiving the second registration request and the second authentication information. According to one embodiment, the operating method of the first electronic device may further include an operation of transmitting transaction information including the second address and the second authentication information to the blockchain network so as to update the second address and the second authentication information in the first smart contract. According to one embodiment, the operating method of the first electronic device may further include an operation of transmitting registration information including the second address and the blockchain address of the first smart contract to the second electronic device based on confirming that the second address and the second authentication information in the first smart contract have been updated.
[0147] According to an embodiment, the operating method of the first electronic device may further include an operation of receiving a third registration request for a new address for cryptocurrency trading and third authentication information of the third electronic device (303). According to an embodiment, the operating method of the first electronic device may further include an operation of generating a third address for cryptocurrency trading by the third electronic device based on receiving the third registration request and the third authentication information. According to an embodiment, the operating method of the first electronic device may further include an operation of transmitting transaction information including the third address and the third authentication information to the blockchain network so as to update the third address and the third authentication information in the first smart contract. According to an embodiment, the operating method of the first electronic device may further include an operation of transmitting registration information including the third address and the blockchain address of the first smart contract to the third electronic device through the communication circuit based on confirming that the third address and the third authentication information have been updated in the first smart contract.
[0148] According to an embodiment, the operating method of the first electronic device may further include an operation of receiving a fourth registration request for a new address for recovering cryptocurrency from a fourth electronic device (304). According to an embodiment, the operating method of the first electronic device may further include an operation of generating a fourth address for recovering the cryptocurrency by the fourth electronic device based on receiving the fourth registration request. According to an embodiment, the operating method of the first electronic device may further include an operation of transmitting transaction information including the fourth address to the blockchain network so as to update the fourth address in the first smart contract. According to an embodiment, the operating method of the first electronic device may further include an operation of transmitting registration information including the fourth address and the blockchain address of the first smart contract to the fourth electronic device based on confirming that the fourth address has been updated in the first smart contract.
[0149] According to one embodiment, an electronic device (302) may include a memory (380), a communication circuit (390), and a processor (370). According to one embodiment, the processor may be configured to verify transaction information for a cryptocurrency transaction. According to one embodiment, the processor may be configured to verify authentication information specified in the electronic device based on a user input. According to one embodiment, the processor may be configured to transmit the transaction information, an address for the electronic device to exchange the cryptocurrency, and the authentication information to a blockchain network (305) in which a first smart contract (310) configured to perform a wallet function is stored. According to one embodiment, if the address and the authentication information of the electronic device are verified to match information previously stored in the first smart contract by the first smart contract, the cryptocurrency transaction may be completed by the smart contract. According to one embodiment, the cryptocurrency transaction may be performed based on the blockchain address and private key of the smart contract.
[0150] According to one embodiment, the transaction information may include information about the blockchain address of the counterparty trading the cryptocurrency, the amount of cryptocurrency to be traded, and / or the type of cryptocurrency.
[0151] In one embodiment, the address of the electronic device and the blockchain address may be different.
[0152] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0153] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0154] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0155] Various embodiments of the present document may be implemented as software (e.g., a program (1440)) including one or more instructions stored in a storage medium (e.g., an internal memory (1436) or an external memory (1438)) readable by a machine (e.g., an electronic device (1401)). For example, a processor (e.g., a processor (1420)) of the machine (e.g., an electronic device (1401)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0156] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0157] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In the first electronic device (301), Communication circuit (340); at least one processor (320); and A memory (330) for storing instructions, wherein the instructions are individually or collectively executed by the at least one processor, Through the above communication circuit, a first registration request for an address for cryptocurrency transaction and first authentication information of the second electronic device (302) are received, Based on receiving the first registration request and the first authentication information, the second electronic device generates a first address for trading the cryptocurrency, The first smart contract (310) set to perform a wallet function is generated in the blockchain network (305) to transmit the first transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transaction to the blockchain network through the communication circuit, An electronic device that transmits registration information including the first address and the blockchain address of the first smart contract to the second electronic device through the communication circuit based on verifying that the first smart contract has been created on the blockchain network.
2. In the first paragraph, when the instructions are individually or collectively executed by the at least one processor, the electronic device, An electronic device that verifies the address of the first electronic device based on receiving the registration request from the first electronic device through the communication circuit.
3. In any one of paragraphs 1 to 2, when the instructions are individually or collectively executed by the at least one processor, the electronic device, An electronic device that generates the first address based on the address format of the above blockchain network.
4. In any one of paragraphs 1 to 3, The above first address is an electronic device different from the address of the above first smart contract.
5. In any one of paragraphs 1 to 4, The first smart contract is an electronic device set to store the first address and the first authentication information.
6. In any one of paragraphs 1 to 5, when the instructions are individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a second registration request for a new address for cryptocurrency transaction and second authentication information of the second electronic device are received from the second electronic device, Based on receiving the second registration request and the second authentication information, the second electronic device generates a second address for trading the cryptocurrency, Transmitting the second address and the second authentication information to the blockchain network through the communication circuit to update the second address and the second authentication information in the first smart contract; An electronic device that transmits registration information including the second address and the blockchain address of the first smart contract to the second electronic device through the communication circuit based on verifying that the second address and the second authentication information have been updated in the first smart contract.
7. In any one of paragraphs 1 to 6, when the instructions are individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a third registration request for a new address for cryptocurrency transaction and third authentication information of the third electronic device (303) are received, Based on receiving the third registration request and the third authentication information, the third electronic device generates a third address for trading the cryptocurrency, Transmitting the third address and the third authentication information to the blockchain network through the communication circuit to update the third address and the third authentication information in the first smart contract; An electronic device that transmits registration information including the third address and the blockchain address of the first smart contract to the third electronic device through the communication circuit based on verifying that the third address and the third authentication information have been updated in the first smart contract.
8. In any one of paragraphs 1 to 7, when the instructions are individually or collectively executed by the at least one processor, the electronic device, An electronic device that transmits information about the address of the first electronic device to the blockchain network to update the third address and the third authentication information in the first smart contract.
9. In any one of paragraphs 1 to 8, when the instructions are individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a fourth registration request for a new address for recovery of cryptocurrency is received from the fourth electronic device (304), Based on receiving the fourth registration request, the fourth electronic device generates a fourth address for recovering the cryptocurrency, Transmitting transaction information including the fourth address to the blockchain network through the communication circuit to update the fourth address in the first smart contract; An electronic device that transmits registration information including the fourth address and the blockchain address of the first smart contract to the fourth electronic device through the communication circuit based on verifying that the fourth address has been updated in the first smart contract.
10. In the operating method of the first electronic device (301), An operation of receiving a first registration request for an address for cryptocurrency transaction from a second electronic device (302) and first authentication information of the second electronic device; An operation of the second electronic device generating a first address for trading the cryptocurrency based on receiving the first registration request and the first authentication information; An operation of transmitting transaction information including the first address, the first authentication information, and the address of the first electronic device for supporting cryptocurrency transactions to the blockchain network (305) to create a first smart contract (310) set to perform a wallet function; and An operating method of an electronic device, comprising: transmitting registration information including the first address and the blockchain address of the first smart contract to the second electronic device based on verifying that the first smart contract has been created on the blockchain network.
11. In paragraph 10, A method of operating an electronic device, further comprising the action of verifying the second address based on receiving the registration request from the first electronic device.
12. In any one of clauses 10 to 11, the operation of generating the first address comprises: An operating method of an electronic device, comprising an operation of generating the first address based on an address format of the blockchain network.
13. In any one of paragraphs 10 to 12, A method of operation of an electronic device wherein the first address is different from the address of the first smart contract.
14. In any one of paragraphs 10 to 13, The first smart contract is a method of operating an electronic device set to store the first address and the first authentication information.
15. In any one of paragraphs 10 to 14, An operation of receiving a second registration request for a new address for cryptocurrency transaction from a second electronic device and second authentication information of the second electronic device; An operation of the second electronic device generating a second address for transacting the cryptocurrency based on receiving the second registration request and the second authentication information; An operation of transmitting transaction information including the second address and the second authentication information to the blockchain network to update the second address and the second authentication information in the first smart contract; and A method of operating an electronic device, further comprising: transmitting registration information including the second address and the blockchain address of the first smart contract to the second electronic device based on verifying that the second address and the second authentication information have been updated in the first smart contract.
Citation Information
Patent Citations
Method for generating address information used in transaction of cryptocurrency based on blockchain, electronic apparatus and computer readable recording medium
KR101952329B1
LED marks for fashion coordination care
KR1020230110124A
A functional fence connection assembly
KR102586341B1
Menstrual cup
KR102633078B1
System and method for cryptographically verified data driven contracts
US10108954B2