Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COMPUTER-IMPLEMENTED METHODS AND SYSTEMS FOR VALIDATING TOKENS FOR BLOCKCHAIN-BASED CRYPTOCURRENCIES
Document Type and Number:
WIPO Patent Application WO/2017/178955
Kind Code:
A1
Abstract:
A computer-implemented method of determining the validity of a token (T) associated with a quantity of cryptocurrency is provided. In some embodiments, the method comprises: a second user (B) receiving, over a communications network, a first transaction comprising a transfer of the token (T) from a first user (A) to the second user (B), querying a peer-to-peer distributed ledger to determine whether an authenticated transaction associated with the token (T) can be identified, wherein the authenticated transaction comprises a previous transaction associated with the token (T) and wherein the token (T) has been authorised and responsive to identifying an authenticated transaction, determining that the token (T) is valid. In some embodiments, the method comprises: a second user: receiving, over a communications network, a first transaction comprising a transfer of the token from a first user to the second user; querying a title registry database to determine if a second transaction comprising a transfer of the token is recorded in the title registry database; and responsive to determining that the second transaction is recorded in the title registry database, determining that the token is valid.

Inventors:
WRIGHT CRAIG STEVEN (GB)
SAVANAH STEPHANE (GB)
Application Number:
PCT/IB2017/052061
Publication Date:
October 19, 2017
Filing Date:
April 10, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NCHAIN HOLDINGS LTD (AG)
International Classes:
G06Q20/06; G06F21/30; G06Q40/00
Foreign References:
US20160098723A12016-04-07
Other References:
"Mastering bitcoin : [unlocking digital cryptocurrencies]", 20 December 2014, O'REILLY MEDIA, Beijing Cambridge Farnham Köln Sebastopol Tokyo, ISBN: 978-1-4493-7404-4, article ANDREAS M. ANTONOPOULOS: "Mastering Bitcoin - Unlocking Digital Cryptocurrencies", XP055306939
ANONYMOUS: "Colored Coins - Bitcoin Wiki", 7 July 2015 (2015-07-07), XP055239396, Retrieved from the Internet [retrieved on 20160107]
Download PDF:
Claims:
CLAIMS:

1. A computer-implemented method of determining the validity of a token associated with a quantity of cryptocurrency, the method comprising:

receiving, over a communications network, a first transaction comprising a transfer of the token from a first user to a second user;

querying a peer-to-peer distributed ledger to determine whether an

authenticated transaction associated with the token can be identified, wherein the authenticated transaction comprises a previous transaction associated with the token and wherein the token has been authorised; and

responsive to identifying an authenticated transaction, determining that the token is valid.

2. The method of claim 1, wherein querying the peer-to-peer distributed ledger comprises querying the peer-to-peer distributed ledger in response to determining that the token of the first transaction has not been authenticated.

3. The method of claim 2, wherein determining that the token has not been authenticated comprises determining that a redeem script associated with the token and referenced as an input to the first transaction has not been signed by an authorised signatory.

4. The method of any one of claims 1 to 3, wherein the token of the authorised transaction is signed by an authorised signatory.

5. The method of claim 3 or claim 4, wherein the authorised signatory comprises at least one of an issuer of the token and a trusted service provider.

6. The method of any one of the preceding claims, wherein querying a peer-to- peer distributed ledger comprises:

a) determining a previous transaction ID indicated in the first transaction; b) identifying a prior transaction recorded in the peer-to-peer distributed ledger, wherein the transaction ID of the prior transaction corresponds with the determined previous transaction ID;

c) determining whether a redeem script of the prior transaction has been signed by an authorised signatory;

d) responsive to determining that the redeem script of the prior transaction has been signed by an authorised signatory, identifying the prior transaction as the authorised transaction;

e) responsive to determining that the redeem script of the prior transaction has not been signed by an authorised signatory,

determining a previous transaction ID indicated in the prior transaction as the previous transaction ID; and

identifying a further prior transaction recorded in the peer-to-peer distributed ledger as the prior transaction, wherein a transaction ID of the further prior transaction corresponds with the previous transaction ID; and

f) iteratively performing steps c) to e) until no further prior transactions are identified..

7. The method of any one of the preceding claims, further comprising responsive to failing to identify an authenticated transaction in the peer-to-peer distributed ledger, determining that the token is invalid.

8. A computer-implemented method of determining the validity of a token associated with a quantity of cryptocurrency, the method comprising: a second user: receiving, over a communications network, a first transaction comprising a transfer of the token from a first user to the second user;

querying a title registry database to determine if a second transaction comprising a transfer of the token is recorded in the title registry database; and

responsive to determining that the second transaction is recorded in the title registry database, determining that the token is valid.

9. The method of claim 8, wherein the second transaction predates the first transaction.

10. The method of claim 8 or claim 9, wherein querying the title registry database comprises querying the title registry database in response to determining that the token has not been authenticated.

11. The method of any one of claims 8 to 10, wherein the title registry database comprises one or more entries relating to transactions comprising a transfer of a token, each entry being associated with a transaction indicator and wherein querying the title registry database comprises determining a transaction indicator associated with the token from the first transaction; and comparing the transaction indicator with the one or more transaction indicators of the title registry database to identify the second transaction.

12. The method of claim 11, wherein the transaction indicator is a transaction ID.

13. The method of any one of claims 8 to 12, wherein determining that the token has not been authenticated comprises determining that a first redeem script associated with the token and referenced as an input to the transaction has not been signed by an authorised signatory.

14. The method of claim 13, wherein the authorised signatory comprises at least one of an issuer of the token and a trusted service provider.

15. The method of any one of claims 8 to 14, further comprising responsive to determining that the second transaction is not recorded in the title registry database, determining that the token is invalid.

16. The method of any one of claims 8 to 15, further comprising responsive to determining that the second transaction is not recorded in the title registry database, querying a peer-to-peer distributed ledger to determine whether an authenticated transaction associated with the token can be identified, wherein the authenticated transaction comprises a previous transaction associated with the token, wherein the token has been authorised and responsive to identifying an authenticated transaction, determining that the token is valid.

17. A computer-implemented method of maintaining, by a first party, a title registry database for recording transfers of tokens issued by an issuer, wherein each token is associated with a quantity of cryptocurrency, the method comprising:

monitoring a peer-to-peer distributed ledger for transactions comprising transfers of tokens issued by the issuer; and

responsive to determining a first transaction comprising a transfer of a token issued by the issuer recorded in the peer-to-peer distributed ledger, recording the transfer of the token in the title registry database.

18. The method of claim 17, wherein monitoring the peer-to-peer distributed ledger further comprises:

determining a previous transaction ID of a transaction recorded in the peer-to- peer distributed ledger;

comparing the determined previous transaction ID with a set of transaction IDs, each transaction ID of the set identifying a transaction associated with a token issued by the issuer; and

responsive to the determined previous transaction ID matching one of the set of transaction IDs, determining the transaction associated with the previous transaction ID as the record of the first transaction comprising a transfer of tokens issued by the issuer.

19. The method of claim 17, wherein monitoring the peer-to-peer distributed ledger further comprises:

determining a target transaction ID of a transaction associated with a token issued by the issuer; comparing the target transaction ID with previous transaction IDs of transactions recorded in the peer-to-peer distributed ledger; and

responsive to the target transaction ID matching a previous transaction ID of one of the transactions recorded in the peer-to-peer distributed ledger, determining the transaction recorded in the peer-to-peer distributed ledger as the record of the first transaction.

20. The method of any one of claims 17 to 19, further comprising authenticating an entry associated with the recording of the transfer of the token in the title registry database by adding the issuer's signature to the entry.

21. The method of any one of claims 17 to 20, wherein maintaining the title registry database is performed by at least one of the issuer and an approved service provider.

22. The method of any one of claims 17 to 21, wherein the title registry database comprises a distributed hash table.

23. The method of claim 22, wherein the distributed hash table comprises contracts associated with the tokens issued by the issuer.

24. A token validation system for determining the validity of a token associated with a quantity of cryptocurrency, the system comprising memory for storing a validation application and a processor, wherein the processor is configured to execute the validation application to perform the method of any one of claims 1 to 16.

25. A title registry maintenance system for maintaining a title registry database for recording transfers of tokens, each associated with a quantity of cryptocurrency, the system comprising memory for storing a maintenance application and a processor, wherein the processor is configured to execute the maintenance application to perform the method of any one of claims 17 to 23.

26. A computer software program, including machine-readable instructions, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 23.

Description:
"Computer-implemented Methods and Systems for Validating Tokens For Blockchain-based Cryptocurrencies "

Technical Field

[0001] The present invention relates generally to distributed ledger technologies such as, but not limited to, the Bitcoin blockchain. Described embodiments relate to security-enhanced systems and methods for validating tokens for blockchain based cryptocurrencies. Some embodiments relate to validating tokens associated with blockchain transactions (TXs) which have not been electronically countersigned by an authorised signatory. Other embodiments relate to systems and computer-implemented control method arranged to enable and improve the transfer and communication of blockchain-implemented tokens between computing nodes.

Background

[0002] In this document we use the term 'blockchain' to include all forms of electronic, computer-based, distributed ledgers. These include consensus-based blockchain and transaction-chain technologies, permissioned and un-permissioned ledgers, shared ledgers and variations thereof. The most widely known application of blockchain technology is the Bitcoin ledger, although other blockchain

implementations have been proposed and developed. While Bitcoin may be referred to herein for the purpose of convenience and illustration, it should be noted that the invention is not limited to use with the Bitcoin blockchain and alternative blockchain implementations and protocols fall within the scope of the present invention.

[0003] A blockchain is a peer-to-peer, electronic ledger which is implemented as a computer-based decentralised, distributed system made up of blocks which in turn are made up of transactions. Each transaction (TX) is a data structure that encodes the transfer of control of a digital asset between participants in the blockchain system, and includes at least one input and at least one output. Each block contains a hash of the previous block to that blocks become chained together to create a permanent, unalterable record of all transactions which have been written to the blockchain since its inception. Transactions contain small programs known as scripts embedded into their inputs and outputs, which specify how and by whom the outputs of the transactions can be accessed. On the Bitcoin platform, these scripts are written using a stack-based scripting language.

[0004] In order for a transaction to be written to the blockchain, it must be

"validated". Network nodes (miners) perform work to ensure that each transaction is valid, with invalid transactions rejected from the network. Software clients installed on the nodes perform this validation work on an unspent transaction (UTXO) by executing its locking and unlocking scripts. If execution of the locking and unlocking scripts evaluate to TRUE, the transaction is valid and the transaction is written to the blockchain. Thus, in order for a transaction to be written to the blockchain, it must be i) validated by the first node that receives the transaction - if the transaction is validated, the node relays it to the other nodes in the network; and ii) added to a new block built by a miner; and iii) mined, i.e. added to the public ledger of past transactions.

[0005] Although blockchain technology is most widely known for the use of cryptocurrency implementation, digital entrepreneurs have begun exploring the use of both the cryptographic security system Bitcoin is based on and the data that can be stored on the Blockchain to implement new systems. It would be highly advantageous if the blockchain could be used for automated tasks and processes which are not limited to the realm of cryptocurrency. Such solutions would be able to harness the benefits of the blockchain (e.g. a permanent, tamper proof records of events, distributed processing etc) while being more versatile in their applications.

One area of current research is the use of the blockchain for the implementation of "smart contracts". These are computer programs designed to automate the execution of the terms of a machine-readable contract or agreement. Unlike a traditional contract which would be written in natural language, a smart contract is a machine executable program which comprises rules that can process inputs in order to produce results, which can then cause actions to be performed dependent upon those results. In respect of commercial transactions, for example, these may involve the transfer of property rights and/or assets. Such assets may include real property, personal property

(including both tangible and intangible property), digital assets such as software, for example, or any other type of asset. In the digital economy, there is often an expectation that exchanges and transfers will be performed in a timely manner and across vast distances. This expectation, along with practical, technical limitations, mean that traditional forms of asset transfer, such as physical delivery of hardcopy of documents representing a contract, negotiable instrument, etc. or the tangible asset itself is not desirable. Thus, smart contracts can provide enhanced control, efficiency and speed of transfer.

[0006] Another area of blockchain-related interest is the use of 'tokens' (or 'coloured coins') to represent and transfer real -world entities via the blockchain. A potentially sensitive or secret item can be represented by the token which has no discernable meaning or value. The token thus serves as an identifier that allows the real-world item to be referenced from the blockchain. The use of tokenisation provides enhanced security and control in respect of the communication, transfer and verification of digital entities on the blockchain.

[0007] Any discussion of documents, acts, materials, devices, articles or the like which has been included in the present specification is not to be taken as an admission that any or all of these matters form part of the prior art base or were common general knowledge in the field relevant to the present disclosure as it existed before the priority date of each claim of this application.

[0008] Throughout this specification the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element, integer or step, or group of elements, integers or steps, but not the exclusion of any other element, integer or step, or group of elements, integers or steps.

SUMMARY [0009] Embodiments of the invention are provided as defined in the appended claims.

[0010] The invention may be described as a verification or authentication method and corresponding system, as it may enable the determination and/or identification of blockchain transactions which comprise or relate to token(s) and which have been digitally signed by an authorised signatory. This may be the token issuer or another party. Security is enhanced as a result of the verification technique.

[0011] Some embodiments relate to a computer-implemented method of determining the validity of a token associated with a quantity of cryptocurrency. The method may comprise: a second user: receiving, over a communications network, a first transaction comprising a transfer of the token from a first user to the second user; querying a peer- to-peer distributed ledger (blockchain) to determine whether an authenticated transaction associated with the token can be identified, wherein the authenticated transaction comprises a previous transaction associated with the token and wherein the token has been authorised; and responsive to identifying an authenticated transaction, determining that the token is valid.

[0012] In some embodiments, querying the peer-to-peer distributed ledger comprises querying the peer-to-peer distributed ledger in response to determining that the token of the first transaction has not been authenticated.

[0013] In some embodiments, determining that the token has not been authenticated comprises determining that a redeem script associated with the token and referenced as an input to the first transaction has not been (cryptographically) signed by an authorised signatory. The token of the authorised transaction may be signed by an authorised signatory. For example, the authorised signatory may comprise at least one of an issuer of the token and a trusted service provider.

[0014] In some embodiments, querying a peer-to-peer distributed ledger comprises: a) determining a previous transaction ID indicated in the first transaction; b) identifying a prior transaction recorded in the peer-to-peer distributed ledger, wherein the transaction ID of the prior transaction corresponds with the determined previous transaction ID; c) determining whether a redeem script of the prior transaction has been signed by an authorised signatory; d) responsive to determining that the redeem script of the prior transaction has been signed by an authorised signatory, identifying the prior transaction as the authorised transaction; e) responsive to determining that the redeem script of the prior transaction has not been signed by an authorised signatory, determining a previous transaction ID indicated in the prior transaction as the previous transaction ID; and identifying a further prior transaction recorded in the peer-to-peer distributed ledger as the prior transaction, wherein a transaction ID of the further prior transaction corresponds with the previous transaction ID; and f) iteratively performing steps c) to e) until no further prior transactions are identified.

[0015] Thus, the invention may comprise performance of one or more of the above steps to: inspect different transactions within respective blocks on the blockchain, starting from an initial or "trigger" transaction, to follow a logical path or hierarchy of transactions until the token's validity is established or at least sufficiently evidenced, or validation fails.

[0016] In some embodiments, the method further comprises responsive to failing to identify an authenticated transaction in the peer-to-peer distributed ledger, determining that the token is invalid.

[0017] Some embodiments relate to computer-implemented method of determining the validity of a token associated with a quantity of cryptocurrency, the method comprising: a second user: receiving, over a communications network, a first transaction comprising a transfer of the token from a first user to the second user;

querying a title registry database to determine if a second transaction comprising a transfer of the token is recorded in the title registry database; and responsive to determining that the second transaction is recorded in the title registry database, determining that the token is valid. For example, the second transaction may predate the first transaction. [0018] In some embodiments, querying the title registry database comprises querying the title registry database in response to determining that the token has not been authenticated.

[0019] In some embodiments, the title registry database comprises one or more entries relating to transactions comprising a transfer of a token, each entry being associated with a transaction indicator and wherein querying the title registry database comprises determining a transaction indicator associated with the token from the first transaction; and comparing the transaction indicator with the one or more transaction indicators of the title registry database to identify the second transaction. For example, the transaction indicator may comprise a transaction ID.

[0020] In some embodiments, determining that the token has not been authenticated comprises determining that a first redeem script associated with the token and referenced as an input to the transaction has not been signed by an authorised signatory. The authorised signatory may comprise at least one of an issuer of the token and a trusted service provider.

[0021] In some embodiments, the method further comprises responsive to

determining that the second transaction is not recorded in the title registry database, determining that the token is invalid.

[0022] In some embodiments, the method further comprises responsive to

determining that the second transaction is not recorded in the title registry database, querying a peer-to-peer distributed ledger to determine whether an authenticated transaction associated with the token can be identified, wherein the authenticated transaction comprises a previous transaction associated with the token, wherein the token has been authorised and responsive to identifying an authenticated transaction, determining that the token is valid.

[0023] Some embodiments relate to a computer-implemented method of maintaining, by a first party, a title registry database for recording transfers of tokens issued by an issuer, wherein each token is associated with a quantity of cryptocurrency, the method comprising: monitoring a peer-to-peer distributed ledger for transactions comprising transfers of tokens issued by the issuer; and responsive to determining a first transaction comprising a transfer of a token issued by the issuer recorded in the peer-to- peer distributed ledger, recording the transfer of the token in the title registry database.

[0024] In some embodiments, monitoring the peer-to-peer distributed ledger further comprises: determining a previous transaction ID of a transaction recorded in the peer- to-peer distributed ledger; comparing the determined previous transaction ID with a set of transaction IDs, each transaction ID of the set identifying a transaction associated with a token issued by the issuer; and responsive to the determined previous transaction ID matching one of the set of transaction IDs, determining the transaction associated with the previous transaction ID as the record of the first transaction comprising a transfer of tokens issued by the issuer.

[0025] In some embodiments, monitoring the peer-to-peer distributed ledger further comprises: determining a target transaction ID of a transaction associated with a token issued by the issuer; comparing the target transaction ID with previous transaction IDs of transactions recorded in the peer-to-peer distributed ledger; and responsive to the target transaction ID matching a previous transaction ID of one of the transactions recorded in the peer-to-peer distributed ledger, determining the transaction recorded in the peer-to-peer distributed ledger as the record of the first transaction.

[0026] In some embodiments, the method further comprises authenticating an entry associated with the recording of the transfer of the token in the title registry database by adding the issuer's signature to the entry.

[0027] In some embodiments, maintaining the title registry database is performed by at least one of the issuer and an approved service provider. [0028] In some embodiments, the title registry database comprises a distributed hash table. For example, the distributed hash table may comprise contracts associated with the tokens issued by the issuer.

[0029] Some embodiments relate to a token validation system for determining the validity of a token associated with a quantity of cryptocurrency, the system comprising memory for storing a validation application and a processor, wherein the processor is configured to execute the validation application to perform any of the described methods.

[0030] Some embodiments relate to title registry maintenance system for maintaining a title registry database for recording transfers of tokens, each associated with a quantity of cryptocurrency, the system comprising memory for storing a maintenance application and a processor, wherein the processor is configured to execute the maintenance application to perform any of the described methods.

[0031] Some embodiments relate to a computer software program, including machine-readable instructions, when executed by a processor, causes the processor to perform any of the described methods.

Brief Description of Drawings

[0032] Examples of the present disclosure will be described with reference to:

[0033] Figure 1 is a schematic of an example system for creating and/or transferring tokens, according to some embodiments;

[0034] Figure 2 is a diagram illustrating an example of a first type of transaction between a first user and an issuer that includes creating a token;

[0035] Figure 3 is a process flow diagram of a computer-implemented method for creating a token, according to some embodiments; [0036] Figure 4 is a diagram illustrating an example of a second type of transaction between a first user and a second user that includes transferring a token;

[0037] Figure 5 is a process flow diagram of a computer-implemented method for maintaining a title registry database for recording transfers of tokens, according to some embodiments;

[0038] Figure 6 is a process flow diagram of a computer-implemented method for validating a token, according to some embodiments;

[0039] Figure 7 is a process flow diagram of a computer-implemented method for validating a token, according to some embodiments; and

[0040] Figure 8 illustrates a schematic example of a processing device of the system of Figure 1, according to some embodiments.

Description of Embodiments

[0041] Described embodiments relate to systems and computer-implemented methods for validating tokens for implementation in conjunction with blockchain based cryptocurrencies such as, for example, Bitcoin. Some embodiments relate to validating tokens associated with transactions which have not been countersigned by an authorised signatory. Other embodiments relate to systems and computer-implemented method for maintaining a title registry database for recording transfers of tokens. The token may be a representation or identifier which is associated with some type or physical, electronic, digital or abstract entity or asset.

[0042] Some embodiments relate to systems and computer-implemented methods for determining the validity of a token (T) associated with a quantity of cryptocurrency (Bl), wherein the token (T) is transferred from a first user (A) to a second user (B), for example, by means of a blockchain transaction Tx comprising (effecting) a transfer of the token (T). In some embodiments, the token (T) has not been authenticated, for example, by an authorised signatory, such as an issuer of the token (T) or a trusted service provider.

[0043] In some embodiments, a peer-to-peer distributed ledger (blockchain) may be queried to determine whether an authenticated transaction associated with the token (T) can be identified. This may or may not be the Bitcoin blockchain. For example, such an authenticated transaction may comprise a prior transaction associated with the token (T) where the token (T) has been authorised. In response to an authenticated transaction being identified, the token (T) may be determined to be valid. By "prior" transaction, we mean a transaction which has been previously written to the blockchain i.e. at an earlier date. It should be recalled that blocks (and thus transactions) are written to the blockchain in a chronological sequence. The previous transaction may be described as a transaction which is further back in the chain of blocks, ie closer to the originating, genesis block.

[0044] In some embodiments, a title registry storage resource e.g. database may be queried to determine if a second transaction comprising a transfer of the token (T) is registered or recorded in the title registry storage, where the second transaction predates the first transaction. In response to the second transaction (T2) being determined as having been recorded in the title registry store, the token (T) may be determined to be valid.

[0045] In some embodiments, a party (P), such as an issuer (I) of the token (T), may be responsible for maintaining the title registry storage by recording any transaction comprising a transfer of the token in the title registry storage.

[0046] Referring now to Figure 1, there is illustrated a system 1 comprising a first processing device 13 associated with an issuer (I) 3, a second processing device 15 associated with a first user (A) 5, and a third processing device 17 associated with a second user (B) 7. The first processing device 13, second processing device 15, and the third processing device 17 may be in communication with one another across a communications network 8. The first processing device 13 may also comprise or be in communication with, for example, directly or over the communications network 8, an associated data store 11.

[0047] Although the first processing device 13 is illustrated as a single node, it will be appreciated that the first processing device 13 may comprise one or more nodes associated with the issuer (I) 3 and one or more steps of any method described as being performed by first processing device 13 may be distributed and performed at different and/or multiples of the nodes of the first processing device 13.

[0048] In some embodiments, the second processing device 15 and the third processing device 17 may be a computer, a mobile communication device, or other electronic device used by the respective first and second user 5, 7. In other examples, the second processing device 15 and the third processing device 17 may be virtual machines accessible by the first and second users, respectively, via a terminal or other interface.

[0049] The issuer (I) 3 creates tokens and may be, for example, a bank, another financial institution, mint, company, etc. However, in other examples, the issuer may not be a financial institution and the invention is not limited to financially-oriented applications. The first user (A) 5 may request the creation of a token from the issuer (I) 3, may request to redeem part of or all of the value of a token with the issuer (I) 3, and/or request to transfer part of or all of the value of a token to the second user (B) 7. Similarly, the second user (B) 7 may request the creation of a token from the issuer (I) 3, may request to redeem part of or all of the value of a token with the issuer (I) 3, or request to transfer part of or all of the value of a token to the first user (A) 5.

[0050] The system 1 also comprises one or more processing devices 19 for managing a peer-to peer distributed ledger (blockchain) 9 for recording transactions. In particular, the one or more processing devices 19 may be configured to receive transactions, for example, from the first, second, and/or third processing devices 13, 15, and 17, respectively, across the communications network 8, and to record the transactions. An example of a peer-to-peer distributed ledger 9 includes the block chain, which is a distributed network of transactions (TXs) based on the bitcoin protocol. Thus, in some embodiments, the one or more processing devices 19 may be associated with "miners". Therefore, the invention comprises one or more processing devices 19 which are in communication with a blockchain-implemented distributed network. The network and various devices intercommunicate to put the invention into effect.

[0051] In some embodiments, the system 1 also comprises one or more processing devices 21 for managing a title registry database 23 for recording transactions associated with transfers of tokens. The one or more processing devices 21 may be in communication with the first, second, and/or third processing devices 13, 15, and 17, and/or the one or more processing devices 19 across the communications network 8. In particular, the one or more processing devices 19 may be configured to receive and record data pertaining to transactions comprising transfers of tokens (T).

Overview of transactions involving tokens

[0052] There are three general types of transactions that involve tokens, namely, the creation of tokens by the issuer (I) 3, the redeeming of part of or all of the value of a token by the first user (A) 5 or the second user (B) 7 with the issuer (I), or the transfer of part of or all the value of a token by the first user (A) 5 or the second user (B) 7 to the second user (B) 7 or the first user (A) 5, respectively.

[0053] Referring to Figure 2, the creation of a first token (Tl) generally involves the first user (A) transferring fiat currency (e.g. $1,000 AUD) to the issuer (I) 3 and in exchange for the fiat currency, the issuer (I) "tokenising" a first quantity of

cryptocurrency (Bl) such that it has a token value and transferring this first quantity of cryptocurrency (Bl) to the first user (A) 5. The first token (Tl) may be representative of a contract, such as a contract where the issuer (I) agrees to redeem the bearer of the first token (Tl) for a specified fiat currency amount (e.g. $1,000 AUD). Therefore, the first token (Tl) may be similar to a negotiable instrument. Depending on the particular terms and conditions, the first user (A) 5 may redeem the first token (Tl) at a future date for a value associated with the deposited fiat currency. The terms and conditions may also allow the first user (A) 5 to have at least part of the value of the token transferred to the second user (B). Such terms and conditions may be specific to the token or may be general terms and conditions between the users 5, 7 and the issuer (I) 3.

Overview of method of creating a token

[0054] A method 300 of creating a token will be described in detail below with reference to Figures 2 and 3. In particular, the method 300 includes allocating a first quantity of cryptocurrency (Bl) for association with a first token (Tl), at 310. The method further includes determining a first hash (HI) of a first redeem script (RSI), wherein the first redeem script (RSI) is based on: at least a first metadata (MD1) that includes information associated with the first token (Tl); the first user public key (PI A); and a first issuer public key (PlI) associated with the issuer (I), wherein the first issuer public key (PlI) forms a cryptographic pair with a first issuer private key (VII), at 312. The method 300 also includes sending, over the communications network 8, a first data output (01) to the blockchain 9, at 314. The first data output (01) includes: an indication of a transaction of the first quantity of cryptocurrency (Bl) to the first user (A) 5; and the first hash (HI), wherein the first hash (HI) is associated with the first quantity of cryptocurrency (Bl), to provide the first token (Tl) that is associated with the first user (A) 5 and issuer (I).

[0055] Thus, the method 300 allows for the creation of a token whereby a record of the token is sent to the blockchain 9. An advantage of recording this transaction on the blockchain 9 is that it may allow the recipient, such as the first user (A) 5 to validate the existence of the token (Tl). Furthermore, since the at least first metadata (MD1) that includes information associated with the first token (Tl) is hashed, this allows the validation of the transaction (which is on the public record) against the information associated with the token. In one example, information associated with the first token (Tl) may be terms and conditions of a contract. Thus, including the terms and conditions in the first redeem script to be hashed may advantageously provide comfort to the first user (A) 5 (or any other user) that the terms and conditions cannot be varied as any variation would alter the first hash (HI). Since the first hash (HI) was sent and recorded on the blockchain 9 at the time of creating the first token (Tl), it would be impossible (or difficult) to alter the terms and conditions at a later time that would provide an identical first hash (HI).

Detailed method of creating a token

[0056] Referring to Figure 3, there is shown the method 300 of creating a first token (Tl), according to some embodiments. In this example, the creating tokens will be discussed in the context of the first user (A) 5 depositing cash with the issuer (I) 3 in return for tokens representing the deposited cash. However, it is to be appreciated that this is a non-limiting example and that the tokens can be created in the context of other transactions. For example, the token may represent any other contract, negotiable instrument, tangible property, etc.

Agreeing on terms and conditions for the token

[0057] The first user (A) 5 instigates the creation of a first token (Tl) by transmitting from the second processing device 15 a request for the first token (Tl) to the first processing device 13 associated with the issuer (I) 3, at 302. In one example, the first user (A) 5 makes this request by depositing fiat currency, for example $1000 AUD, with a request to have this amount in tokens (Tl). The request may include an offer for a contract, which may include one or more terms and conditions of a contract. For example, the first user (A) 5 may include in the request that the tokens associated with the deposit of $1000 AUD should have a fixed pegging rate to cryptocurrency. For example, a request that the pegging rate is 1000 satoshi/cent (AUD). It is to be appreciated that other terms and conditions may be included in the offer, such as account keeping fees, transaction fees, how the tokens can be redeemed, etc.

[0058] The first processing device 13 of the issuer (I) receives, over the

communications network 8, the request from the first user (A) 5 for the first token (Tl) and, in some cases, at least some of the terms and conditions, at 304. In some embodiments, the issuer (I) determines whether to accept the request, propose a counter offer that includes a modification of the terms and conditions of the request, or reject the request, at 306. In some embodiments, the method 300 may include sending by the issuer (I), over the communications network 8, the result of the determination in step 304, to the first user (A) 5.

[0059] In some embodiments, the request sent to the issuer (I) may simply include a request for a first token (Tl). In this case, the issuer (I) may send an offer, including terms and conditions, to the first user (A) 5. The first user (A) 5 may, in turn, determine whether to accept the offer, propose a counter offer, or reject the offer, which is then sent to the issuer (I). It will be appreciated that multiple rounds of offers and counter offers may be sent and received between the issuer (I) and first user (A) 5 until they are in agreement. In some embodiments, the terms and conditions may be standardised, whereby the user accepts the terms and conditions by performing the steps in the method 300. In one example, the issuer (I) may have standardised offers for tokens for their customers, including the first user (A) 5. Such offers for tokens may be listed publicly, such as on a public exchange or on the issuer's website.

Standing offers may also be provided by the issuer (I) to the first user (A) 5 privately, such as by email, through an application, or by logging in a secure website. The contract terms and conditions associated with the token may be stored in the data store 11, sent to a third party for storage, or torrented. In some embodiments, the terms and conditions may be stored on a distributed hast table (DHT).

Determining the first user public key

[0060] The method 300 includes determining a first user public key (PI A) of a cryptographic pair associated with the first user (A) 5, the cryptographic pair including a first user private key (VIA) and the first user public key (PI A), at 308. In one example, the first user public key (PI A) may be sent from the first user (A) 5, over the communications network 8, to the issuer (I). In another example, the first user public key (PI A) may be associated stored in the data store 11 (which may, for example, be received and stored during registration of the first user (A) 5). Thus, the step of determining 308 the first user public key (PI A) may include retrieving the key from the data store 11. In yet another example, the first user public key (PI A) may be received, over the communications network 8, from a third party. The third party may include, for example, a trusted third party that acts as a public directory, such as a certification authority.

Allocating a first quantity of cryptocurrency for association with the token

[0061] The method 300 includes allocating a first quantity of cryptocurrency (Bl) for association with the first token (Tl), at 310. In order for a record of a transaction involving the first token (Tl) to be recorded on the peer-to-peer distributed ledger (which in this example is the block chain), the token must be associated with a quantity of cryptocurrency. In turn, that quantity of cryptocurrency is recorded on the blockchain as a transaction from the issuer (I) 3 to the first user (A) 5.

[0062] The allocation of the first quantity of cryptocurrency (Bl) for association with the first token (Tl) may be based on a ratio of the token value. For example, a pegging rate (PR1) may be specified for the first token (Tl). Thus, allocating a first quantity of cryptocurrency (Bl) at 310 may include determining a first quantity of cryptocurrency (Bl) based on the pegging rate (PR1) and the first token value (TV1). As an illustrative example, the pegging rate (PR1) may be 1000 satoshis/cent AUD and the first token value (TV1) is $1000 AUD. Thus, the first quantity of cryptocurrency (B l) may be 10,000,000.

[0063] The quantity of cryptocurrency to be allocated for a token may be influenced by some of the following considerations. Firstly, the allocated quantity of

cryptocurrency ideally has a market value (for this purpose, this means the market value of the cryptocurrency in itself, assuming it has a value, without reference to the token value) that is less than the value of the token ("token value"). This is desirable so that there is no motivation to use the quantity of cryptocurrency for the underlying value rather than as a token. This may be analogous to cash coins where it is desirable to have the face value of the coin to be higher than the metal the coin is minted from, so that there is no desire to melt the coins for the value of the metal. In some examples, the token value is multiples larger than the underlying value of the quantity of cryptocurrency. However, it is to be appreciated that some token may not have a fixed or easily determinable token value. For example, the token may be representative of a contract to perform work, whereby the value may change day to day. In other examples, the contract may only have a value that is determinable on the day it is redeemed.

[0064] Another consideration is that the quantity of cryptocurrency allocated should not be too large, relative to the token value or the value of the transaction, since recording a transaction of the quantity of cryptocurrency on the peer-to-peer distributed ledger may be at a cost, such as incurring a transaction fee. In some examples, the transaction fee is based on the quantity of cryptocurrency in the transaction and therefore it may be desirable to keep the quantity of cryptocurrency for the token at a minimum level.

[0065] On the other hand, the quantity of cryptocurrency allocated for association with the token cannot be infinitely small. Firstly, the cryptocurrency may have a minimum denomination amount, and for example, Bitcoin has a minimum amount of one satoshi (where 1 bitcoin (BTC) = 10,000,000 satoshi). Secondly, a transaction of cryptocurrency may be limited to a minimum size or else it will not be recorded (or the cost of the transaction will be close to, or exceed, the cost of performing the transaction). This minimum amount, in some examples, is a "dust" limit. Thus in some examples, allocating a quantity of cryptocurrency for a token must be above a minimum threshold of cryptocurrency (MT1). Therefore the method 100 may include determining the minimum threshold of cryptocurrency (MT1) suitable for the first token (Tl) and determining a first quantity of cryptocurrency (Bl) that is at or above the minimum threshold of cryptocurrency (MT1). In one example, the minimum threshold of cryptocurrency (MT1), in "Bitcoin", is 546 satoshis. [0066] Another consideration when allocating the quantity of cryptocurrency for a token is divisibility of the quantity of cryptocurrency for subsequent tokens. For example, the first token (Tl) may have a token value (TVl) of $1000 AUD and the first user (A) 5 may wish to transfer $800 AUD of the token value to the second user (B) 7 and keep the remaining $200 AUD tokens. Such a transaction would involve a transaction with the first token (Tl) that results in a second token (T2) representing $200 AUD that stays with the first user (A) 5 as change and creating a third token (T3) representing $800 AUD to be transferred to the second user (B) 7. Thus the result of this transfer is two tokens, the second token (T2) and third token (T3), where each of these tokens must also be allocated a quantity of cryptocurrency. If the first quantity of cryptocurrency (Bl) was minimal, for example at the "dust" limit, then further amounts of cryptocurrency will need to be sourced so that each of the new tokens created are also associated with sufficient quantities of cryptocurrency to satisfy a minimum threshold. Therefore, there may be advantages to allocating a sufficient quantity of cryptocurrency (Bl) for the first token (Tl) such that the amount is sufficient to be divided up to be used for an anticipated number of subsequent tokens.

[0067] In one example, the terms and conditions may specify the quantity of cryptocurrency or the minimum value or denomination of a token. For example, the term and conditions may set the minimum denomination of token value to $10 AUD. Therefore, allocating a first quantity of cryptocurrency (Bl) for a first token (Tl) with a token value (TVl) of $1000 AUD may include determining a first quantity that will ensure that there is sufficient cryptocurrency if the entire token value (TVl) is divided up to the smallest denomination. In this example, the token value (TVl) may be divided to 100 subsequent tokens (calculated by $1000/$ 10). Therefore a suitable first quantity of cryptocurrency (Bl) may be 100 times the "dust" limit.

Determining a first hash (HI) of a first redeem script (RSI)

[0068] The method 300 further includes determining a first hash (HI) of a first redeem script (RS 1), at 312. In one example, the hash of the redeem script may be used to provide a pay to script hash (P2SH) address for a pay to script hash transaction. An example includes the hash functions used in P2SH script in the Bitcoin protocol. This may include a combination of SHA 256 followed by RIPEMD160.

[0069] The first redeem script (RSI) is a script that may be used to unlock the first token (Tl) which, as discussed later, includes a transaction of the first quantity of cryptocurrency (Bl). When unlocking the first token (Tl), certain conditions of the first redeem script (RS 1) must be met to unlock the transaction. In particular, the signatures of the first user (A) 5 and issuer (I) are required. An example of the first redeem script (RS I) will now be described.

The first redeem script (RSI)

[0070] The first redeem script (RSI) is based on: at least a first metadata (MD1) that includes information associated with the first token, the first user public key (PI A) and the first issuer public key (P1I).

(i) Redeem script in P2SH in general

[0071] As background, in a pay to script hash (P2SH) method the redeem script may take the form of:

<NumSigs PubKl PubK2 ... PubK15 NumKeys OP CHECKMULTISIO where

NumSigs - is the number "m" of valid signatures required to satisfy the redeem script to unlock the transaction

PubKl, PubK2 ... PubKl 5 - are the public keys that correspond to signatures that unlock the transaction (up to a maximum of 15 public keys)

NumKeys - is the number "n" of public keys (which must be 15 or less) [0072] To unlock the above redeem script, at least a number "m" of signatures corresponding to the public keys are required. In some examples, the order of the public keys are important and the number "m" out of "n" signatures for signing must be done in sequence. For example, say that "m" is two and the number of public keys "n" is fifteen. Say that two signatures are available for use, say Sigl (corresponding to PubKl) and Sig 15 (corresponding to PubK15), the redeem script must be signed by Sigl first followed by Sigl5.

(ii) The first redeem script (RSI) using P2SH

[0073] Turning back to the present example, the first redeem script (RS 1) that utilises P2SH may include the at least first metadata (MD1) in the redeem script. In particular, the at least first metadata (MD1) may be embedded in one or more of the 15 places available for the public keys in the redeem script.

[0074] Therefore, in one example, the first redeem script (RSI) may take the form of:

<NumSigs Metadata 1 Metadata2...PubKl PubK2...NumKeys

OP CHECKMULTISIO where

NumSigs - is the number "m" of valid signatures required to satisfy the redeem script to unlock the transaction

Metadatal and Metadata2- includes metadata that takes the place of a public key

PubKl and PubK2 - are actual public keys. In one example, PubKl may be the first user public key (PI A) and PubK2 may be the issuer public key (PI I)

NumKeys - is the is total number of positions taken by the metadata and the public keys (which must be 15 or less) [0075] The advantage of this is that the metadata will be included in the first redeem script (RSI), which in turn will be hashed and the record of which will be included in the blockchain 9. Therefore, it would be difficult, if not impossible, to change the values of the metadata without resulting in a change of the corresponding hash of the first redeem script hash (RSI).

[0076] A practical advantage may be illustrated by the following example. The first user (A) 5 and the issuer (I) 3 may wish to enter into a contract with particular terms and conditions. The contract may include the issuer (I) creating a token, whereby the specific terms and conditions are included in the metadata embedded in the redeem script. A hash of the redeem script is then recorded on the blockchain 9, which becomes a record of the transaction that is difficult or impossible to change. Say the issuer (I) attempts to deceive the first user (A) 5, and for example, attempts to modify a term and alleges that the modified term was in the originally agreed contract. The first user (A) 5 may be able to contest this by placing the modified term in the metadata of the redeem script and hashing it, and then showing that this does not match the redeem script recorded on the blockchain. Therefore, including information associated with the token in the at least first metadata may be useful for ensuring the integrity of the token.

[0077] It is to be appreciated that the metadata in the redeem script may itself include a hash of other information. For example if the terms and conditions is lengthy, a hash of the terms and conditions may be used to provide a shorter metadata.

[0078] The first redeem script (RSI) may be stored in the data store 11 as a record and for redeeming the first token (Tl). In some alternative examples, the first redeem script may be sent to the first user (A) 5, or a third party .

The metadata

[0079] In the present example, the first redeem script (RSI) takes the form:

<2 Metadatal Metadata2 PI A P11 4 OP CHECKMULTISIO [0080] Thus the at least first metadata (MD1) includes both Metadatal and Metadata2 that occupies two of the places in the redeem script. This is followed by two public keys in sequence, the first user public key (PI A) and the first issuer public key (P1I). The NumSigs is 2 which mean two signatures are required to unlock the transaction.

[0081] The metadata may include information regarding the token in a number of ways. As discussed, in one example the terms and conditions may be included in the metadata. In another example, a hash of the terms and conditions may be included in the metadata. In yet another example, the metadata may include a pointer to a file that contains the terms and conditions of a contract. In further embodiments, combinations including one or more of the above may be included in the metadata.

(i) Metadata with pointer to terms and conditions

[0082] A specific example of the first metadata (MD1) is illustrated in Table 1 below.

Table 1

[0083] This example includes a minimum amount of information in relation to the token and transaction. This example includes providing a pointer to the (smart) contract which may be useful where the size of the contract precludes including such details in the metadata. Furthermore, since the metadata may be made public, or transmitted over an unsecure network, it may be desirable that specific details of the token be veiled or hidden for privacy reasons.

[0084] The first 4 bytes of metadatal indicates the type of contract. For example, the contract type may be for 'Fiat Currency' . The next 16 bytes holds the IP address of the location of the actual electronic contract file, making allowance for IPv6 addresses. Note that in some embodiments, this value may point to the seed of a torrent file such that the contract file can be distributed over the cloud rather than being centralised. The following 12 bytes contains data specific to the type of contract.

[0085] The first 20 bytes of metadata2 is a hash of the actual contract file using RIPEMD-160 over SHA256 applied to the file. As the actual contract file is retrievable this allows validation of the transaction against the contract. Note that the contract file itself may be completely public (unencrypted and human readable) or may be encrypted for privacy, depending on the requirements of the specific embodiment. The content of the remaining 12 bytes of metadata2 may be used depending on the type of contract. f 0086] (ii) Metadata with key parameters of the token

[0087] Another specific example of the first metadata (MD1) is illustrated in Table 2 below:

Table 2

[0088] In this example, some key parameters of the token included in the metadata. By key parameters, this may include information relevant the token itself or information that may assist processing of the transaction. In particular, the bytes allocated to the Sub-field "ContractTypeDatal" in Table 1 above has been used for indicating: fiat denomination, pegging rate, and transaction type. [0089] Inclusion of the key parameters in the metadata may assist greater processing efficiency as the issuer (I) 3 may, in some cases, process the tokens in transactions without retrieving the contract file for the key information required to process the transaction.

[0090] In addition to the above information, other information relating to the history of the token or the tokens preceding the token may be included. For example, if the first user (A) 5 wishes to redeem a portion of the first token (Tl) and a second token (T2) is created by the issuer (I) to represent the value of the remaining portion, the issuer may embed information in the metadata to associate the second token (T2) with the first token (Tl). This may assist the issuer (I) to account for and keep track of the tokens without the expense of tracing through the history of transactions which, for an issuer (I) such as a bank, can be an intensive task.

[0091] In Table 2, the metadata contains a 2-byte field to indicate the fiat currency (FiatDenomination) and 1-byte field called PeggingRate. The pegging rate is set by the Issuer (I). Several different rates may be set for the same fiat currency, however, a different token (with a different contract) will be needed for each different rate. The choice of rate may be at the discretion of the Issuer (I), however who may take similar considerations for the pegging rate as for the allocation of the quantity of

cryptocurrency for the token as discussed above.

[0092] In one example, the PeggingRate is an 8-bit coded value as follows:

Leftmost bit will be used as a flag:

1 = rate expressed as satoshis/cent ('cent' refers to one hundredth of the fiat currency, which is the minimum fiat amount)

0 = rate expressed as cents/satoshi

The rightmost seven bits represents the rate as a power of ten in binary, for example:

USD 10000010 means rate of 100 satoshis/cent (flag is on) PHP 00000000 means rate of 1 centavo/satoshi (flag is off) IDR 00000001 means rate of 10 rupiah/satoshi (flag is off) [0093] In one example, TransactionType is a 1-byte field indicating whether the transaction is an "issuance" (in which a token is created from cryptocurrency), a payment (in which at least part of the token value is transferred from one user to another user); or a redemption (in which tokens are transferred to the issuer (I) and converted back to regular cryptocurrency).

[0094] In some examples, the "Padding" in both the Metadatal and Metadata2 may include randomly generated values for each transaction. The result is that each of Metadatal and Metadata2 will vary between transactions. An advantage is that this may lower the risk, and motivation, of an unscrupulous person trying to determine a private key that would match one or both of Metadatal or Metadata2 as a cryptographic pair (for the purpose of using such a private key to sign the redeem script). This may be important for standardised tokens where the remaining bulk of the Metadatal or Metadata2 is the same.

The public keys

[0095] The first user public key (PI A) and the issuer public key (P1I) are respectively paired with corresponding first user private key (VIA) and issuer private key (VII). It will be appreciated that in some embodiments, the public keys may be known widely to the public, while in other embodiments, it may be desirable to communicate the public keys as required.

[0096] In some embodiments, the issuer (I) is a financial institution that also manages an electronic wallet of the first user (A) 5 and second user (B) 7 and the first user (A) 5 and second user (B) 7 may access their respective electronic wallets through a virtual machine environment or a terminal. The electronic wallet may be hosted by the issuer (I) 3 (or a server associated with the issuer (I) 3) and the private key(s) of a

corresponding user are stored in the data store 11 but can only be accessed (or recreated) by the issuer (I) 3 with authorisation from that user. In such cases, the first and second users 5, 7 may authorise their private keys to be provided to the issuer (I) 3 to unlock the redeem script. This may include authorising the user's private key(s) to be sent to the first processing device 13 of the issuer (I) 3, wherein the first processing device 13 may unlock the redeem script with the user's private key(s) (e.g. PI A, P1B) and the first issuer public key (P1I).

Sending a first data output (01) to a blockchain 150

[0097] The method 300 further includes sending by the issuer (I) 3, over a

communications network 8, a first data output (01) to a p blockchain 9, at 314. This first data output (01) may include an indication of a transaction transferring the first quantity of cryptocurrency (Bl) to the first user (A) 5, that is, recording that the underlying quantity of cryptocurrency (Bl) associated the first token (Tl) has been transferred to the first user (A) 5. The first data output (01) also includes the first hash (HI) discussed above. The first hash (HI) is associated with the first quantity of cryptocurrency (Bl), to provide a record of the first token (Tl) that is associated with the first user (A) 5 and the issuer (I). Thus, the first hash (HI) is recorded on the blockchain 9 and can be used to prove or verify the existence of the token (Tl), the relationship between the issuer (I) and first user (A) 5, and/or the terms and conditions of the token.

[0098] The method 300 may also include storing 160 the first redeem script (RSI) in a data store 11 for later use.

[0099] A specific example of a transaction that creates a first token (Tl) will now be described with reference to Figure 2.

First user (A) 5 deposits $1000 AUD to the Issuer (I) for equivalent value in a token

[0100] In this example, the first user (A) 5 wishes to deposit $1000 AUD to the issuer (I), who, in return creates a first token (Tl), with a token value (TV1) of $1000 AUD, by associating this with a first quantity of cryptocurrency (Bl) of 10,000,000. [0101] To create tokens, the issuer (I) needs to have cryptocurrency. This may be sourced from previous transactions, or sourced in response to the request from the first user (A) 5 for a first token (Tl). This is shown on the left hand side of Figure 2 as the "First quantity of (untokenised) cryptocurrency".

[0102] Table 3 below shows an originating transaction output, in the form of transaction-ID / Satoshis amount/ locking script. This originating transaction output represents the cryptocurrency that the issuer (I) has acquired from a previous transaction and in which at least some of the cryptocurrency will be used for association with the first token.

I D-201

50,000,000

OP_DU P OP_HASH160 <PubK-lssuer hash> OP_EQUALVE I FY OP_CH ECKSIG

Table 3

[0103] The first line "10-201" is a transaction identifier to identify this transaction. The next line is the number of satoshis in this transaction, which is 50,000,000. The third line is the locking script (output script) for this transaction. The redeem script in this output, <PubK-Issuer hash> , shows that this output has been locked with the first issuer public key (PI I). That is, this transaction can be unlocked using the issuer's corresponding first issuer private key (VII).

[0104] As discussed above, the method 300 includes allocating a first quantity of cryptocurrency (Bl) suitable for the first token (Tl), at 310. However, the quantities of cryptocurrency that the issuer (I) has on hand may not exactly match the first quantity of cryptocurrency (Bl). In the present example, the required first quantity of cryptocurrency (Bl) is 10,000,000 which is much less than the 50,000,000 in from the transaction ID-201. Accordingly, a transaction to create a first token (Tl) may include providing change of cryptocurrency back to the issuer (I) for the excess amounts of cryptocurrency that was not required for the token. Furthermore, the creation of the token 100 may be a transaction that requires a payment of a transaction fee to a miner. This is illustrated with reference to Table 4 below which shows the transaction for creating the tokens.

Table 4

[0105] The first line "ID-210" is a transaction identifier to identify this transaction. The second line indicates the "Version number" which states the version of the Bitcoin protocol used.. The third line indicates the number of inputs for this transaction, which indicates a single input.

[0106] Lines 4 to 7 in Table 4 relate to those of the "input" - that is, a previous transaction, ID-201 that is funding the present transaction, ID-210. Line 4 is the transaction identifier of the previous transaction, ID-201. Line 5 "IDX-00" is an index of the output of the previous transaction, ID-201 (which in this case is a reference that the first output from the previous transaction, ID-201, should be used). Line 6 is the "ScriptSig", which is the unlocking script for the previous transaction, ID-201. As noted above, previous transaction was locked with the first issuer public key (PlI), that is represented by PubK-lssuer. Accordingly, the previous transaction can be unlocked using the issuer's corresponding first issuer private key (VII) that is represented as Sig- lssuer. Line 7 is a sequence number associated with the input. In bitcoin transactions each contains a 4-byte field called 'sequence number' which is no longer used by the bitcoin core. Depending on the issuer's implementation, an option is to utilise this field to allocate transaction inputs to outputs. The sequence number can represent a string of 1-bit flags whereby the position of each flag starting with the rightmost bit indicates that the input has contributed part of its funds to the flagged output. In this example, the sequence number "000000000000000000000000000000011" indicates that the input is to be paid into outputs 1 and 2, which will be described below.

[0107] Line 8 in Table 4 indicates the number of outputs for this transaction, which is two. Lines 9 to 11 represent the first output and lines 12 to 14 represent the second output.

[0108] The first output reflects the first quantity of cryptocurrency (Bl) that is associated with the first token (Tl). Line 9 is an output value of first quantity of cryptocurrency (Bl), which is 10,000,000 satoshis. Line 10 indicates the output script length. Line 11 is the output script - i.e. the locking script that locks the first quantity of cryptocurrency (Bl). This includes the first hash (HI) of a first redeem script (RSI) and is represented by:

OP HASH160 <redeem script hash> OP EQUAL

[0109] The "OP HASH160" is a type of hash function where the input is hashed twice - with SHA-256 and subsequently with RIPEMD-160. The redeem script hash is the hash of the first redeem script (RSI) which is in the form described above, and for this example is:

2 metadatal metadata2 PI A P11 4 OP CHECKMULTISIG

[0110] This includes the first user public key (PI A) and the first issuer public key (PI I) as described above. The metadata 1 and metadata2 may include metadata as described above, including an indication that this is an "issuance" transaction.

OP EQUAL provides a Boolean result for verifying the output. [0111] The second output reflects the issuer's change for the transaction. Since the input, being the previous transaction ID-201, included 50,000,000 satoshis, the Issuer (I) can expect to receive left over satoshis. Line 12 is an output value for the second output which is 39,999,000. Line 13 is the output script length and line 14 is the output script for the second output. Since the second output is the change back to the issuer (I), the issuer should be free to spend the second output. Accordingly, the output script (i.e. locking script) only includes the first issuer public key (P1I) which is represented by <PubK-Issuer hash>.

[0112] Generally, the output value(s) of a transaction must be equal to or less than the input. In the above example, the input was 50,000,000 and the output is 49,999,000 (based on 10,000,000 of the first output and 39,999,000 of the second output). Thus, there is a deficit of 1,000 satoshis. In this example, the 1,000 satoshis is a transaction fee (e.g. miner's fee).

Overview of redeeming part of or all of the value of a token by the first user (A) with the issuer (I)

[0113] Generally, tokens are redeemed with the issuer (I) 3. In embodiments, where the issuer (I) is a service provider that provides electronic wallets for the users 5, 7, the private keys of the users are kept secure in a data store 11 associated with the issuer (I) 3. Therefore, in such embodiments, the users 5, 7 (or their respective processing devices 15, 17) do not sign the redeem script. Instead, the issuer (I) 3, with

authorisation from the users 5, 7, signs the redeem script. For example, the first user (A) 5 may send a request to redeem a token to the issuer (I) 3 and either implicitly, or explicitly, this request to redeem a token also includes an authorisation by the first user (A) 5 for the issuer (I) 3 to use the first user private key (PI A) to redeem the token.

[0114] A method for redeeming a first token (Tl) may include receiving by the issuer (I) 3, over the communications network 8, a request from the first user (A) 5 to redeem the first token (Tl), determining a first redeem script (RSI) associated with the first token (Tl) and obtaining the first user private key (VIA), for example, from the data store 11 or from another entity or node. The issuer may then sign the first redeem script (RSI) with the user private key (PIA) and the first issuer private key (PlI). This may be advantageous as the issuer (I) 3, who is the service provider for the first user (A) 5, can perform these steps securely at the first processing device 13 and without sending the first redeem script (RSI), signed or unsigned, over the communications network 8.

[0115] The method may also include sending, over the communications network 8, a second data output (02) to the blockchain 9 comprising an indication of a transaction of the first quantity of cryptocurrency (Bl) to the issuer (I). Thus, the method returns the first quantity of cryptocurrency (Bl) associated with the first token (Tl) back to the issuer (I). In one example, since the first redeem script (RSI) is signed with the private keys of both the first user (A) 5 and the issuer (I), the recipient of the first quantity of cryptocurrency (Bl) in this transaction, being the issuer (I) 3, may then spend the first quantity of cryptocurrency for other transactions - whether as cryptocurrency alone or with other associated tokens.

Transfer of part of or all of the value of a token by the first user (A) to the second user m

[0116] In some embodiments, in order to allow the first user (A) 5 wishing to transfer the value, or portion thereof, of the first token (Tl) to the second user (B), one or more additional tokens may be created. For example, a third token (T3) may be created that is associated with the second user (B) 7 and the issuer (I) 3. This may advantageously allow the first user (A) 5 to, in effect, transfer the same or similar rights associated with a first token (Tl), to the second user (B). Although a new token, in the form of a third token (T3), is created, the third token (T3) may have similar characteristics as the first token (Tl). For example, the tokens may have associated metadata that is the same or similar. This may be useful, for example, if the same or similar terms and conditions applicable between the first user (A) 5 and the issuer (I) 3 should also apply between the second user (B) 7 and the issuer (I) 3. [0117] In one example, the first user (A) 5 may wish to transfer the entire value of the first token (Tl) to the second user (B). Such cases may involve the creation of a third token (T3) associated with the first quantity of cryptocurrency Bl that is to be transferred to the second user (B) 7. Effectively, the third token (T3) is the transfer of the first token (Tl), and rights associated with the first token (Tl), to the second user (B) 7.

[0118] In a further example, only a first portion (Rl) of the total value of the first token (Tl) is transferred to the second user (B) 7, and in such cases, the remaining second portion (R2) of the total value may be included in a second token (T2) that is refunded back to the first user (A) 5. Thus, the request to create the third token (T3) may comprise, explicitly or implicitly, a request to create the third token (T3) with a third token value (TV3) based on the first portion (Rl).

Transfer a token by the first user (A) to the second user (B) without the involvement of the issuer (I) or other third party intermediary.

[0119] In the examples described in the section above, the transfer of the value of a token from the first user (A) 5 to the second user (B) involves the issuer (I) 3 as an intermediary to facilitate the transfer. This is distinguished from a direct transaction of the first quantity of cryptocurrency (Bl) from the first user (A) 5 to the second user (B) 7.

[0120] However, in some cases, it may be desirable to transfer the value of a token by the first user (A) 5 to the second user (B) 7 without the involvement of the issuer (I) 3 or other third party intermediary. For example, such a situation may arise if the second user (B) 7 does not have a service provider or if the service provider of the second user (B) 7 is not within the same web of trust as the service provider of the first user (A) 5 or the issuer (I) 3 responsible for minting the token. In such embodiments, the second user (B) 7 may wish to take precautions to ensure the legitimacy or validity of the token being transferred. [0121] Generally, if the second user (B) 7 has a service provider (SPB) within the same web of trust as the service provider (SPA) of the first user (A) 5, then the service provider (SPB) acts as a signatory for the transaction on spending or redeeming the token and accordingly, the second user (B) 7 is assured of the token's authenticity or validity. However, if the second user (B) 7 does not have a service provider (SPB) or does not have a service provider (SPB) within the same web of trust as the service provider (SPA) of the first user (A) 5, the issuer (I) or an authorised party will not be available to authenticate or validate the transaction.

[0122] Thus, the second user (B) 7 may wish to determine the legitimacy of a token (Tl) being transferred to the second user (B) 7. In some embodiments, a validation application comprising executable computer code is stored in memory 1520 (Figure 8) of the processing device 17, and when executed by processor 1510 (Figure 8) of the processing device 17, causes the processing device 17 to perform a method 600 or 700 of determining the validity of a token (T) associated with a quantity of cryptocurrency, as discussed in more detail below with reference to Figures 6 and 7 respectively. In some embodiments, the second user (B) 7 may manage an electronic wallet (not shown) which may be accessed through a virtual machine environment or a terminal associated with the processing device 17 and the electronic wallet may include an addon feature which allows the second user (B) 7 to cause the processing device 17 to execute the validation application.

[0123] A specific example of a transaction that transfers a token (Tl) from the first user (A) to the second user (B) will now be described with reference to Figure 4.

First user (A) transfers the first token (Tl) to the second user (B)

[0124] In this example, the first user (A) 5 wishes to transfer the token (T) to the second user (B) as shown in Figure 4. This results in a transaction of the quantity of cryptocurrency from the first user (A) 5 to the second user (B) 7, referred to as transaction ID-510 below. The transfer of the quantity of cryptocurrency to the second user (B) 7 allows the second user (B) 7 to then spend the quantity of cryptocurrency (Bl) as tokens for future transactions. The second user (B) 7 may also "detokenize" the quantity of cryptocurrency (Bl) by one or more transactions that removes the metadata (which may include the payment transaction that transferred the quantity of cryptocurrency (Bl) to the second user (B) 7). The second user (B) 7 may further spend this cryptocurrency without the restriction of requiring authorisation (such as a signature) from the first user (A) 5 or other user.

[0125] Before describing the transaction to transfer the first token, ID-510, as illustrated in Table 7 below, we will briefly describe the originating transaction outputs (from transaction ID-500 and ID-400) that are the inputs to the present payment transaction, ID-510. The two inputs in general, include the quantity of cryptocurrency associated with the token (T), and another quantity of cryptocurrency which is used to pay the transaction fee (e.g. miner's fee).

[0126] For example, the first user (A) 5 may have received the quantity of cryptocurrency in transaction ID-500. The outputs that went to the first user (A) 5 in transaction ID-500 may be summarised as:

ID-500

10,000,000

OP_HASH160,redeem script hash> OP EQUAL

Table 5

[0127] Line 2 in Table 5 represents the quantity of cryptocurrency associated with the token (T) which numbers in 10,000,000 satoshis. Line 3 represents the output script, which is equivalent to line 11 in Table 4 described above.

[0128] The first user (A) 5 may also need to pay the transaction fee (e.g. miner's fee) for the payment transaction, ID-510, which is paid in part from a quantity of cryptocurrency received from a previous transaction, ID-400. This quantity of cryptocurrency may be summarised as: ID-400

1,000

OP DUP OP HASH160 <PubK-Alice hash>OP_EQUALVERIFY OP CHECKSIG

Table 6

[0129] Line 2 of Table 6 indicates the amount of cryptocurrency from previous transaction which is 1,000. Line 3 of Table 6 is the output script from this previous transaction. Since the cryptocurrency from this transaction, ID-400, is not associated

with a token (or a user associated with a token), the redeem script hash is simply a hash

[0130] of the first user public key (PI A) which is shown as PubK-Alice. That is, to spend the output from transaction ID-400, this simply requires the signing with the first user private key (VIA). [0131] The transaction, ID-510, to transfer the first token (Tl), will now be discussed with reference to Table 7 below.

Table 7

[0132] Line 1 "ID-510" is a transaction identifier to identify this transaction. The second line indicates the "Version number" which states the version of the Bitcoin protocol used.. Line 3 indicates the number of inputs for this transaction, which indicates two inputs.

[0133] Lines 4 to 8 in Table 7 relate to those of the first input - that is, a previous transaction, ID-500 that is funding the present transaction, ID-510. Line 4 is the transaction identifier of the previous transaction, ID-500. Line 5 "IDX-00" is an index of the output of the previous transaction, ID-500 (which in this case is a reference that the first output from the previous transaction, ID-500, should be used). Line 6 is "Script length", which is an indication of the script length. Line 7 is "ScriptSig", which is the unlocking script for the previous transaction, ID-500. As indicated, previous transaction ID-500 was locked with the first user (A) public key (PI A) represented by PubK-Alice and a first issuer public key (P1I) represented by PubK-Issuer.

Accordingly, the previous transaction can be unlocked using Alice's corresponding private key (VIA) that is represented as Sig- Alice and the issuer's corresponding first issuer private key (VII) that is represented as Sig-Issuer. Line 8 is a sequence number associated with the input.

[0134] The first user (A) also needs to pay the transaction fee (e.g. miner's fee) for the transfer transaction, ID-510, which is paid in part from a quantity of cryptocurrency received from a previous transaction, ID-400. Lines 11 to 15 in Table 7 relate to those of the second input - that is the payment of the miners fee. Line 11 is the transaction identifier of the previous transaction, ID-400. Line 12 is "IDX-01" is an index of the output of the previous transaction, ID-400. Line 13 is "Script length", which is an indication of the script length. Line 14 is "ScriptSig", which is the unlocking script for the previous transaction, ID-400. Since the cryptocurrency from this transaction, ID- 400, is not associated with a token (or a user associated with a token), the redeem script hash is simply a hash of the first user public key (PI A) which is shown as PubK-Alice. That is, to spend the output from transaction ID-400, this simply requires the signing with the first user private key (VIA). Line 15 is a sequence number associated with the input.

[0135] Line 17 of Table 7 indicates the number of outputs for this transaction, which is one. Lines 18 to 21 represent the output which reflects the quantity of

cryptocurrency that is associated with the token (T). Line 18 is an output value of quantity of cryptocurrency, which in this case is 10,000,000 satoshis. This corresponds to the quantity of cryptocurrency from the token (T). Line 19 indicates the output script length. Line 20 is the output script - i.e. the locking script that locks the transfer of the token (T) associated with the quantity of cryptocurrency to the second user (B). This includes the hash (H) of a redeem script (RS) and is represented by:

OP HASH160 <redeem script hash> OP EQUAL

[0136] The "OP HASH160" is a type of hash function where the input is hashed twice - with SHA-256 and subsequently with RTPEMD-160. OP EQUAL provides a Boolean result for verifying the output. The redeem script hash is the hash of the redeem script (RS) which is in the form described above, and for this example is:

1 metadatal metadata2 PubK-Bob 3 OP CHECKMULTISIG

[0137] This redeem script includes the metadata from the token (T) as well as the issuer public key (PI I) shown as PubK-Issuer. The metadata 1 and metadata2 may include metadata as described above, including an indication that this is a "payment" transaction. This redeem script requires one of three signatures to spend the

10,000,000 satoshis. In practice, the second user private key (V1B) may be used to sign and spend the cryptocurrency for subsequent transactions. It notable that the first user public key (PI A) is not in this redeem script. This is because the token (T) and accordingly, the associated quantity of cryptocurrency, has been transferred to the second user (B) 7 and therefore may be considered as spent by the first user (A) 5. Accordingly, the second user (B) 7 should be free to spend the token (T) without requiring authorisation (such as implicit authorisation through a signature of the first user (A) 5).

[0138] In this example, the previous transaction, ID-500 (i.e. the unspent transaction output (UTXO)) that is funding the present transaction, ID-510 has been signed by the issuer I. Thus, in some embodiments, the second user (B) 7 may determine that the first token (T) associated with a quantity of cryptocurrency associated with the transaction ID-510 is valid if the token (T) has been authenticated, for example, signed, by an authorised signatory, such as the issuer (I). For example, the token (T) may be considered to have been authorised by an authorised signatory if a redeem script (RS) associated with the token (T) and referenced as an input to the transaction ID-510 has been signed by an authorised or trusted signatory.

[0139] However, consider the case that the service provider (SPA) of the first user (A) 5 is not in the same web of trust as the issuer (I) and that the token (T) associated with the transaction ID-510 is not signed by an authorised signatory. In such a circumstance, the redeem script of the previous transaction ID-500 shown on Line 7 of Table 7, for this example would instead take the form:

1 metadatal metadata2 PubK-Alice 3 OP CHECKMULTISIG

[0140] In this embodiment, the redeem script (RS) associated with the token (T) and referenced as an input to the transaction ID-510 has not been signed by an authorised signatory and accordingly, the second user (B) 7 may not be assured as to the legitimacy of the token (T) by considering the redeem script (RS) referenced as the input funding the transaction ID-510 alone.

The Title Registry Store [0141] As discussed in reference to Figure 1, in some embodiments, the system 1 comprises the title registry store 23, which may be controlled or influenced by a control/management application running on the one or more processing devices 21. For example, the management application comprising executable code may be stored in memory 1520 (Figure 8) of the one or more processing devices 21 and processor(s) 1510 (Figure 8) of the one or more processing devices 21 may be configured to execute the management application to perform a method of managing the title registry store 23. The title registry store 23 may be configured to record information pertaining to transactions relating to transfers of tokens.

[0142] In some embodiments, the title registry store 23 maintains a record of a change of ownership of a token (T), i.e., the fact that the ownership has changed, without explicitly identifying the current owner of the token (T). Thus, in some embodiments, the title registry store 23 may comprise a list or sub-list of validated or verified unspent transaction outputs (UTXOs). For example, if a transaction has been recorded on the title registry store 23, the title store register 23 may include at least one of the transaction identifier and the output script of a transaction, which includes an indication of the current owner, i.e., the public key of the current owner, embedded within metadata of the redeem script hash. The previous owner may be determined from their public key identified in the unlocking script of the input section of the transaction.

[0143] However, in other embodiments, the title registry store 23 may also, or instead, comprise an identifier of the current and/or previous owner of the token. For example, the title registry store 23 may comprise a "Know Your Customer" (KYC) register of direct and/or indirect clients. In some embodiments, the maintenance of a KYC register may be a provision in the contract associated with the token, such as a condition of ownership. In such an embodiments, a condition of validity of the token may require that a payee, such as the second user (B) 7, register directly with the party (P) or Issuer (I). This may be achieved via an off-block mechanism such as through a dedicated web page, with suitable checks such as requiring a signature to prove they are the owner, etc. In some embodiments, the party (P) or issuer (I) 3 may store the condition in an internal database, such as data store 11 or on a DHT, such as the DHT configured to store the terms and conditions of the contract described above. In some cases, the issuer (I) 3 may require to know the current owner in order to perform certain obligations, such as paying any income attached to the contract. For example, if the contract relates to part ownership of a race horse, it may be necessary for the Issuer to be identify a party to whom a share of winnings should be paid.

[0144] The one or more processing devices 21 may configured to receive data from the first, second, and/or third processing devices 13, 15, and 17, and/or the one or more processing devices 19 across the communications network 8 and to store the data in the title registry store 23. Similarly, the one or more processing devices 21 may configured to retrieve data from the title registry store 23 and provide the retrieved data to the first, second, and/or third processing devices 13, 15, and 17, and/or the one or more processing devices 19 across the communications network 8, for example, in response to a request for data and/or automatically, such as at predetermined or regular intervals.

[0145] In some embodiments, the recording in the title registry store 23 of a transaction comprising a transfer of a token (T) issued by an issuer (I) 3 is instigated by the issuer (I) 3 of that token (T). For example, having creating a token (T) for a user, such as the first user (A) 5 or the second user (B) 7, and in addition to sending the first data output (01) to a blockchain 9 as described above at 314 in connection with the method 300 of creating a token, the issuer (I) 3, using the one or more processors 13, sends a request to record the transfer of the token to the management application of the title registry store 23 over the communications network 8 to the one or more processors 21 associated with the title registry store 23. The issuer of a token may also be responsible for maintaining or updating the title registry store 23 regarding transactions associated with the token, as discussed in more detail below.

[0146] In some embodiments, the title registry store 23 may comprise a distributed hash table (DHT). In some embodiments, the distributed hash table (DHT) may also be configured to store contracts associated with the tokens. In some embodiments, the distributed hash table (DHT) configured to store contracts associated with the tokens may include a field comprising one or more links or pointers pointing to a location of a relevant entry in the distributed hash table (DHT) of the title registry database 23.

Maintaining the Title Registry

[0147] In general, one or more parties (P) are responsible for updating the title store register 23 to maintain or keep an accurate record of any transfers of tokens, and accordingly, changes of ownership of the tokens. In some embodiments, each issuer (I) 3 of a token (T) is responsible for maintaining an accurate record of any changes of ownership of that token on the title store register 23, that is, a record of any transactions comprising a transfer of the token which have occurred.

[0148] A method 500 of maintaining a title registry store 23 for recording transfers of tokens issued by an issuer (I), wherein each token is associated with a quantity of cryptocurrency, will now be described with reference to Figure 5. In some

embodiments, a title registry maintenance application comprising executable code may be stored in memory 1520 (Figure 8) of the one or more processing devices 13 and processor(s) 1510 (Figure 8) of the one or more processing devices 13 may be configured to execute the title registry management application to perform the method 500 of maintaining a title registry store for recording transfers of tokens. In other embodiments, the method 500 may be performed by a processing device (not shown) associated with an authorised party (P) connected to the communications network 8.

[0149] In performing the method 500, the maintenance application is configured to monitor a blockchain 9 for transactions comprising transfers of tokens issued by the issuer (I), at 502.

[0150] The blockchain 9, for example, the Bitcoin Blockchain, records transactions and may include details of the transactions (TXs) such as the previous transaction identifier, input script(s), and the output script(s). As described above, a token associated with a transaction may be determined from metadata of an input script of the transaction. [0151] In response to determining a transaction comprising a transfer of a token (T) issued by the issuer (I), the maintenance application is configured to record the transfer of the token (T) on the title registry store 23. For example, in some embodiments, as shown in Figure 5, the maintenance application is configured to send a request to record the transfer of the token (T) in the title registry store 23 to the management application hosted by the one or more processing devices 21 associated with a second party (P2) responsible for managing the title registry store 23.

[0152] In some embodiments, the request may comprise data including an indicator of a transaction comprising a transfer of the token (T). For example, the data may comprise a transaction identifier of the transaction and/or the first data output (01). In some embodiments, the data is authenticated by the issuer (I) 3, for example, in that it is signed using the issuer's signature (VII). The data may be retrieved from the details of the transaction of the token recorded in the blockchain 9.

[0153] In some embodiments, in response to receiving, by a second party (P2) from a first party (PI), such as the issuer (I) 3 of the token, a request to record a transfer of a token, at 508, the management application stored in memory (not shown) of one or more processing devices (not shown) associated with the second party (P2) is executed by a processor(s) (not shown) of the one or more processing devices (not shown) to enter the data in the title registry store 23, at 510. In some embodiments, a new entry is created in the title registry store 23 for each request or valid request received by the second party (P2). In some embodiments, if an entry for the token (T) associated with the request already exists, the management application may be configured to update the entry as opposed to creating another entry for the token (T).

Using the Title Registry to validate the token (T) associated with the transaction

[0154] A method 600 of determining the validity of a token (T) associated with a quantity of cryptocurrency using the title registry store 23 will now be described with reference to Figure 6. In some embodiments, the validation application comprising executable code may be stored in memory 1520 (Figure 8) of the processing devices 17 and processor(s) 1510 (Figure 8) of the processing devices 17 is configured to execute the validation application to perform the method 600 of determining the validity of a first token (Tl) associated with a first quantity of cryptocurrency (Bl). The method 600 may be performed by the processing device 17 associated with the second user (B) 7.

[0155] The first user (A) may send a first transaction comprising a transfer of the first token (Tl) to the second user (B), at 602. In performing the method 600, the validation application is configured to receive, over the communications network 8, the first transaction comprising a transfer of the token (T) from the first user (A) to the second user (B), at 604. The first transaction may comprise a blockchain transaction for transfer of a portion of cryptocurrency, such as that discussed in connection with Table 7 above. For example, the transaction may comprise a transaction id, one or more inputs and one or more outputs. The input(s) may relate to previous transaction(s) and each may comprise a previous transaction id and an unlocking script comprising a redeem script associated with the first token (Tl). At least one of the output(s) may relate to the transfer or payment being effected by the present or first transaction and may comprise a locking script.

[0156] In some embodiments, the validation application is configured to determine whether the token (T) has been authenticated, at 606. For example, this may involve determining whether the redeem script associated with the token (T) and referenced as an input to the first transaction has been signed by an authorised signatory, such as issuer of the token (T) or a trusted service provider.

[0157] The validation application determines an indicator of a second transaction or previous transaction comprising a transfer of the token (T), at 608. The second transaction may be a previous transaction that predates the first transaction. In some embodiments, the indicator may be a transaction identifier of the previous transaction. For example, the previous transaction may be a transaction identified as an input to the present transaction and the identifier may be identified as one of a plurality of input parameters of the present transaction. [0158] The validation application is configured to query the title registry database 23 using the indicator to determine whether the second transaction is recorded on the title registry store 23, at 610. For example, if the second transaction has been recorded on the title registry store 23, the title store register 23 may include an indicator of the second transaction, such as the transaction identifier. Thus, in some embodiments, verification of the validity of a token may be determined despite not knowing who the previous or final owner is. Thus, embodiments of the invention provides a novel and advantageous validation technique which solves a technical problem not addressed by the prior art.

[0159] However, in other embodiments, the title registry store 23 may also or instead comprise an identifier of the current and/or previous owner of the token. In some embodiments, the validation application may be configured to query the title registry store 23 only if the validation application first determines that the token (T) has not been authenticated as at 606.

[0160] In response to determining that the second transaction is recorded or registered in the title registry store, the validation application is configured to determine that the token (T) is valid, at 612.

[0161] In some embodiments, in response to determining that the second transaction is not registered in the title registry store, the validation application is configured to determine that the token (T) is not valid, at 612. However, in other embodiments, in response to determining that the second transaction is not registered in the title registry store, the validation application is configured to perform steps 710 to 714 of method 700 as described below, at 614.

Using the blockchain to validate the token (T) associated with the transaction

[0162] A method 700 of determining the validity of a token (T) associated with a quantity of cryptocurrency using the blockchain 9 will now be described with reference to Figure 7. In some embodiments, the validation application comprising executable code may be stored in memory 1520 (Figure 8) of the processing devices 17 and processor(s) 1510 (Figure 8) of the processing devices 17 is configured to execute the validation application to perform the method 700 of determining the validity of a token (T) associated with a quantity of cryptocurrency. The method 700 may be performed by the processing device 17 associated with the second user (B) 7.

[0163] The first user (A) may send a first transaction comprising a transfer of the token (T) to the second user (B), at 702. In performing the method 700, the validation application is configured to perform steps 704 and 708, which correspond with steps 604 and 608 of method 600 as described above in connection with Figure 6. In some embodiments, the validation application is configured to perform step 706, which corresponds with step 606 of method 600 as described above in connection with Figure 6.

[0164] The validation application is configured to use the indicator of the previous transaction to query the blockchain 9 to determine whether an authenticated transaction associated with the token (T) can be identified, at 710. An authenticated transaction comprises a transaction associated with the token (T) where the token (T) has been authorised. For example, a token may be considered to be authorised or legitimate if the redeem script associated with the token (T) has been signed by an authorised signatory, such as issuer of the token (T) or a trusted service provider. Signing may comprise a digital, cryptographic signature.

[0165] In some embodiments, the validation application may be configured to query the blockchain 9 only if the validation application first determines that the token (T) of the first transaction has not been authenticated as at 706. For example, this may involve determining whether the redeem script associated with the token (T) and referenced as an input to the transaction has been signed by an authorised signatory, such as issuer of the token (T) or a trusted service provider.

[0166] In some embodiments, querying the blockchain 9 comprises comparing the indicator of the previous transaction with corresponding indicators of transactions recorded in the blockchain 9 to identify a prior transaction having the same indicator as the indicator of the previous transaction. For example, the indicator of the previous transaction may comprise a previous transaction ID indicated in the first transaction.

[0167] The validation application is configured to step through (ie iterate over) entries in the blockchain 9 to locate an authorised transaction associated with the token. Thus, for example, if the most recent transaction identified in the blockchain 9 as being associated with the token (T) is not an authorised transaction, the validation application is configured to locate or identify the transaction associated with the token that immediately preceded the most recent transaction and to determine whether that transaction is an authorised transaction. If the transaction associated with the token that immediately preceded the most recent transaction is not an authorised transaction, the validation application is configured to locate or identify a yet earlier transaction associated with the token and to determine whether that transaction is an authorised transaction.

[0168] In some embodiments, the validation application is configured to determine that the most recent or earlier transaction is an authorised transaction comprises determining whether a redeem script associated with the token and referenced as an input to the transaction has been signed by an authorised signatory, such as issuer of the token (T) or a trusted service provider.

[0169] In some embodiments, in response to determining that a transaction recorded in the blockchain 9 is not an authorised transaction, the validation application is configured to determine an indicator of an earlier transaction from the entry of the transaction and to use the indicator of the earlier transaction to identify an entry for the earlier transaction in the blockchain 9. The indicator may comprise a previous transaction ID associated with the transaction. For example, in some embodiments, the validation application is configured to locate or identify the transaction that

immediately preceded the most recent transaction or yet earlier transaction by determining a previous transaction identifier from an input script of the most recent transaction or earlier transaction. This process is performed iteratively until no earlier transaction can be identified.

Therefore, the invention provides an advantageous validation technique comprising the dynamic construction of a logical hierarchy of related blockchain transactions. The hierarchy is constructed starting from an initial transaction and using a plurality of sources because the transactions are recorded within different blocks on the blockchain. In this sense, the invention identifies and associates the relevant data from multiple sources and uses it in the validation process.

[0170] Once the validation application identifies an authorised transaction, the method 700 moves to step 712. If, however, the validation application does not identify an authorised transaction, the method 700 moves to step 714.

[0171] In response to identifying an authenticated transaction in the blockchain 9, the validation application is configured to determine that the token (T) is valid, at 712. For example, if the validation application determines that the redeem script of the prior transaction has been signed by an authorised signatory, the validation application identifies the prior transaction as an authorised transaction.

[0172] In some embodiments, in response to failing to determine an authenticated transaction in the blockchain 9, the validation application is configured to determine that the token (T) is not valid, at 714.

Processing device

[0173] As discussed above in connection with Figure 1, the issuer (I) 3, first user (A) 5 and second user (B) 7 may be associated with a first processing device 13, second processing device 15, and a third processing device 17. The blockchain 9 may also be associated with one or more processing devices 19. The title registry database 23 may also be associated with one or more processing devices 21. Such a processing device may be part of an electronic device, such as a computer, tablet computer, mobile communication device, computer server etc. In addition to a processing device, the electronic device may include a data store 11 and a user interface (not shown).

[0174] Figure 8 illustrates an example of a processing device 13, 15, 17, 19, 21. The processing device 13, 15, 17, 19, 21 includes a processor 1510, a memory 1520 and an interface device 1540 that communicate with each other via a bus 1530. The memory 1520 stores instructions and data for implementing the methods described herein, including methods 300, 500, 600 and 700, and the processor 1510 is configured to execute the instructions from the memory 1520 to perform the methods. The interface device 1540 may include a communications module (not shown) that facilitates communication with the communications network 5 and, in some examples, with the user interface and peripherals such as data store 11. It should be noted that although the processing device 1501 may comprise independent network elements, the processing device 13, 15, 17, 19, 21 may also be part of another network element. Further, some functions performed by the processing device 13, 15, 17, 19, 21 may be distributed between multiple network elements. For example, the issuer 3 may have multiple processing devices 23 to perform method 300, 500, 600 and/or 700 in a secure local area network associated with the issuer (I) 3.

[0175] Where this disclosure describes that a user, issuer, merchant, provider or other entity performs a particular action (including signing, issuing, determining, calculating, sending, receiving, creating etc.), this wording is used for the sake of clarity of presentation. It should be understood that these actions are performed by the computing devices operated by these entities.

[0176] Signing may comprise executing a cryptographic function. The cryptographic function has an input for a clear text and an input for a key, such as a private key. A processor may execute the function to calculate a number or string that can be used as a signature. The signature is then provided together with the clear text to provide a signed text. The signature changes completely if the message text or the key changes by a single bit. While calculating the signature requires little computational power, recreating a message that has a given signature is practically impossible. This way, the clear text can only be changed and accompanied by a valid signature if the private key is available. Further, other entities can easily verify the signature using the publicly available public key.

[0177] In most circumstances, encrypting and decrypting comprises a processor executing a cryptographic function to calculate an output string representing the encrypted message or a clear text message respectively.

[0178] Keys, tokens, metadata, transactions, offers, contracts, signatures, scripts, metadata, invitations, and the like refer to data represented as numbers, text or strings stored on data memory, such as variables in program code of type "string" or "int" or other types or text files.

[0179] An example of the peer-to-peer ledger is the bitcoin block chain. Transferring funds or paying fees in bitcoin currency comprises creating a transaction on the bitcoin block chain with the funds or fees being output from the transaction. An example of a bitcoin transaction includes an input transaction hash, a transaction amount, one or more destinations, a public key of a payee or payees and a signature created by using the input transaction as the input message and a private key of a payer to calculate the signature. The transaction can be verified by checking that the input transaction hash exists in a copy of the bitcoin block chain and that the signature is correct using the public key. To ensure that the same input transaction hash has not been used elsewhere already, the transaction is broadcast to a network of computing nodes ('miners'). A miner accepts and records the transaction on the block chain only if the input transaction hash is not yet connected and the signatures are valid. A miner rejects the transaction if the input transaction hash is already linked to a different transaction.

[0180] Allocating cryptocurrency for a token comprises creating a transaction with the allocated cryptocurrency and the token represented in a metadata field in the transaction. [0181] When two items are associated, this means that there is a logical connection between these items. In a database, for example, identifiers for the two items may be stored in the same records to make the two items associated with each other. In a transaction, identifiers for the two items may be included in the transaction string to make the two items associated with each other.

[0182] Using the bitcoin protocol, redeeming a script and/or unlocking a token comprises calculating a signature string of the script and/or transaction using the private key. The script may require more than one signature derived from different private keys or other conditions. The output of this transaction is then provided to a miner.

[0183] Authorising another entity may comprise calculating a signature string of a transaction using a private key and providing the signature string to the entity to allow the entity to use the signature to verify the transaction.

[0184] A user having an account with another entity may comprise the entity storing information about the user, such as email address, name and potentially public keys. For example, the entity may maintain a database, such as SQL, OrientDB, MongoDB or others. In some examples, the entity may also store one or more of the user's private keys.

[0185] It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the above-described embodiments, without departing from the broad general scope of the present disclosure. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.