# US 2022/0277302 A1 · Cryptoasset custodial system with proof-of-stake blockchain support

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0277302 A1
- Document ID: US20220277302A1
- Status: Published application
- Kind: A1
- Application number: 17/715,327
- Filed: 2022-04-07
- Published: 2022-09-01
- Earliest claimed: 2019-08-19
- Assignees: Anchor Labs, Inc.
- Applicants: Anchor Labs, Inc.
- Inventors: Diogo Monica; Nathan P. McCauley; Boaz Avital; Riyaz D. Faizullabhoy
- Web page: https://patentgrep.com/patent/US20220277302A1

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- G06Q 20/3672: {initialising or reloading thereof}
- G06Q 20/3674: {involving authentication}
- G06Q 20/38215: {Use of certificates or encrypted proofs of transaction rights}
- G06Q 20/3829: {involving key management}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Methods and systems for secure storage and retrieval of information, such as private keys, useable to control access to a blockchain, include: receiving, in a cryptoasset custodial system, a request to authorize a staking operation associated with a blockchain, wherein the staking operation is associated with a private key of an asymmetric cryptographic key pair, the private key is usable to control ownership of a cryptoasset recorded in the blockchain, and the private key is securely held in the custodial system; performing, in response to the request, a portion of the proof-of-stake protocol in a hardware security module using logic designed for the protocol, wherein the logic in the hardware security module is configured to authorize the staking operation by digitally signing an associated staking transaction; and sending the digitally signed staking transaction to another computer to effect the staking operation on behalf of the user.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A method comprising:
receiving, by an online server computer of a cryptoasset custodial system, a request to authorize a staking operation for a proof-of-stake protocol associated with a blockchain, wherein the staking operation is associated with a private key of a cryptographic key pair, the private key securely held in a hardware security module of the cryptoasset custodial system;
performing, in response to the request, at least a portion of the proof-of-stake protocol in the hardware security module using logic designed for the proof-of-stake protocol;
verifying, in the hardware security module, a policy map specifying a plurality of users of the cryptoasset custodial system and a threshold number of the plurality of users to approve the staking operation;
validating, in the hardware security module, endorsement messages from at least a subset of the plurality of users of the cryptoasset custodial system by checking cryptographic digital signatures using public keys corresponding to the subset of the plurality of users;
digitally signing, in the hardware security module, using the logic in the hardware security module and the private key, a staking transaction associated with the staking operation when the staking operation is in accordance with control rules of the policy map and after endorsement messages from the subset of the plurality of users have been validated for the threshold number of the plurality of users;
transmitting, by the online server computer, the digitally signed staking transaction to a blockchain network to effect the staking operation on a node on behalf of the user;
monitoring, by the cryptoasset custodial system, the blockchain network to identify one or more additional staking opportunities; and
in response to identifying the one or more additional staking opportunities, modifying, by the cryptoasset custodial system, the staking operation on behalf of the user to improve rewards provided to the user.

### Claim 22 (depends on 21)

The method of claim 21, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting a new staking protocol that offers a higher rate of return.

### Claim 23 (depends on 21)

The method of claim 21, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting that a validator of a plurality of validators is likely to be selected more often than another validator of the plurality of validators for block validation at the blockchain network.

### Claim 24 (depends on 21)

The method of claim 21, wherein prior to digitally signing, in the hardware security module, the staking transaction using the logic in the hardware security module and the private key, the method further comprises:
revalidating, by the hardware security module, that the staking transaction is in a format that conforms to the proof-of-stake protocol.

### Claim 25 (depends on 21)

The method of claim 21, wherein the logic in the hardware security module comprises firmware code programmed to handle different staking transactions for two or more proof-of-stake protocols.

### Claim 26 (depends on 21)

The method of claim 21, wherein the method further comprises:
performing a different portion of the proof-of-stake protocol in the online server computer.

### Claim 27 (depends on 21)

The method of claim 21, wherein the private key is associated with an asymmetric cryptographic key pair, and wherein the method further comprises:
decrypting, in the hardware security module, an encrypted key using a hardware-based cryptographic key securely stored in the hardware security module;
generating, in the hardware security module, the private key of the asymmetric cryptographic key pair from at least the decrypted key;
digitally signing, in the hardware security module, the staking transaction using the private key generated in the hardware security module; and
deleting the private key from the hardware security module.

### Claim 28 (depends on 27)

The method of claim 27, wherein generating, in the hardware security module, the private key of the asymmetric cryptographic key pair from at least the decrypted key further comprises:
generating, in the hardware security module, the private key by applying a deterministic key derivation function to one or more of: an identifier for a vault for the cryptoasset, an asset identifier for the cryptoasset, and the decrypted key controlled by the hardware security module.

### Claim 29 (depends on 21)

The method of claim 21, wherein the hardware security module comprises at least one secure storage device and at least one physical computing device coupled with the at least one secure storage device.

### Claim 30

A cryptoasset custodial system comprising:
one or more computer processors; and
a non-transitory computer-readable storage medium storing instructions executable by the one or more computer processors, the instructions when executed by the one or more computer processors causing the one or more computer processors to perform operations including:
receiving, by an online server computer of a cryptoasset custodial system, a request to authorize a staking operation for a proof-of-stake protocol associated with a blockchain, wherein the staking operation is associated with a private key of a cryptographic key pair, the private key securely held in a hardware security module of the cryptoasset custodial system;
performing, in response to the request, at least a portion of the proof-of-stake protocol in the hardware security module using logic designed for the proof-of-stake protocol;
verifying, in the hardware security module, a policy map specifying a plurality of users of the cryptoasset custodial system and a threshold number of the plurality of users to approve the staking operation;
validating, in the hardware security module, endorsement messages from at least a subset of the plurality of users of the cryptoasset custodial system by checking cryptographic digital signatures using public keys corresponding to the subset of the plurality of users;
digitally signing, in the hardware security module, using the logic in the hardware security module and the private key, a staking transaction associated with the staking operation when the staking operation is in accordance with control rules of the policy map and after endorsement messages from the subset of the plurality of users have been validated for the threshold number of the plurality of users;
transmitting, by the online server computer, the digitally signed staking transaction to a blockchain network to effect the staking operation on a node on behalf of the user;
monitoring, by the cryptoasset custodial system, the blockchain network to identify one or more additional staking opportunities; and
in response to identifying the one or more additional staking opportunities, modifying, by the cryptoasset custodial system, the staking operation on behalf of the user to improve rewards provided to the user.

### Claim 31 (depends on 30)

The system of claim 30, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting a new staking protocol that offers a higher rate of return.

### Claim 32 (depends on 30)

The system of claim 30, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting that a validator of a plurality of validators is likely to be selected more often than another validator of the plurality of validators for block validation at the blockchain network.

### Claim 33 (depends on 30)

The system of claim 30, wherein prior to digitally signing, in the hardware security module, the staking transaction using the logic in the hardware security module and the private key, the instructions cause the one or more computer processors to perform further operations including:
revalidating, by the hardware security module, that the staking transaction is in a format that conforms to the proof-of-stake protocol.

### Claim 34 (depends on 30)

The system of claim 30, wherein the logic in the hardware security module comprises firmware code programmed to handle different staking transactions for two or more proof-of-stake protocols.

### Claim 35 (depends on 30)

The system of claim 30, wherein the private key is associated with an asymmetric cryptographic key pair, and wherein the instructions cause the one or more computer processors to perform further operations including:
decrypting, in the hardware security module, an encrypted key using a hardware-based cryptographic key securely stored in the hardware security module;
generating, in the hardware security module, the private key of the asymmetric cryptographic key pair from at least the decrypted key;
digitally signing, in the hardware security module, the staking transaction using the private key generated in the hardware security module; and
deleting the private key from the hardware security module.

### Claim 36 (depends on 30)

The system of claim 30, wherein the hardware security module comprises at least one secure storage device and at least one physical computing device coupled with the at least one secure storage device.

### Claim 37

A non-transitory computer-readable medium storing instructions executable by one or more computer processors of a cryptoasset custodial system, the instructions when executed by the one or more computer processors cause the one or more computer processors to perform operations comprising:
receiving, by an online server computer of the cryptoasset custodial system, a request to authorize a staking operation for a proof-of-stake protocol associated with a blockchain, wherein the staking operation is associated with a private key of a cryptographic key pair, the private key securely held in a hardware security module of the cryptoasset custodial system;
performing, in response to the request, at least a portion of the proof-of-stake protocol in the hardware security module using logic designed for the proof-of-stake protocol;
verifying, in the hardware security module, a policy map specifying a plurality of users of the cryptoasset custodial system and a threshold number of the plurality of users to approve the staking operation;
validating, in the hardware security module, endorsement messages from at least a subset of the plurality of users of the cryptoasset custodial system by checking cryptographic digital signatures using public keys corresponding to the subset of the plurality of users;
digitally signing, in the hardware security module, using the logic in the hardware security module and the private key, a staking transaction associated with the staking operation when the staking operation is in accordance with control rules of the policy map and after endorsement messages from the subset of the plurality of users have been validated for the threshold number of the plurality of users;
transmitting, by the online server computer, the digitally signed staking transaction to a blockchain network to effect the staking operation on a node on behalf of the user;
monitoring, by the cryptoasset custodial system, the blockchain network to identify one or more additional staking opportunities; and
in response to identifying the one or more additional staking opportunities, modifying, by the cryptoasset custodial system, the staking operation on behalf of the user to improve rewards provided to the user.

### Claim 38 (depends on 37)

The non-transitory computer-readable medium of claim 37, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting a new staking protocol that offers a higher rate of return.

### Claim 39 (depends on 37)

The non-transitory computer-readable medium of claim 37, wherein monitoring the blockchain network to identify one or more additional staking opportunities further comprises detecting that a validator of a plurality of validators is likely to be selected more often than another validator of the plurality of validators for block validation at the blockchain network.

### Claim 40 (depends on 37)

The non-transitory computer-readable medium of claim 37, wherein the logic in the hardware security module comprises firmware code programmed to handle different staking transactions for two or more proof-of-stake protocols.
