Blockchain monitoring platform
The present disclosure generally relates to a blockchain monitoring system. For example, aspects of the present disclosure include systems and techniques for monitoring one or more transactions on a block chain using configured rules. Some aspects include a monitoring system having at least one memory and at least one processor coupled to the at least one memory and configured to: detect a block on a blockchain; retrieve, from a rules database, a rule associated with one or more transactions on the block; determine whether the rule applies to one or more transactions on the block; and perform one or more actions associated with the rule using an authentication code associated with a user, the authentication code being different than a private key of the user for accessing the blockchain.
1 . A monitoring system, comprising:
at least one memory; and
at least one processor coupled to the at least one memory and configured to:
request a latest-block identifier from a blockchain;
based on the latest-block identifier, identify a block on the blockchain;
detect one or more transactions on the block;
retrieve, from a rules database, a rule associated with transactions on the block, wherein the rule includes whether an amount associated with the one or more transactions meets a threshold;
determine whether the rule applies to the one or more transactions on the block based on information from the blockchain;
perform one or more actions associated with the rule using an authentication code associated with a user, the authentication code being different than a private key of the user for accessing the blockchain; and
receive, from a device associated with the user, the authentication code to be used for monitoring the blockchain for the user.
2 . The monitoring system of claim 1 , wherein the at least one processor is configured to:
receive information associated with the one or more transactions; and
determine whether the rule applies to the one or more transactions based on the information.
3 . The monitoring system of claim 1 , wherein the at least one processor is configured to:
receive, from the device associated with the user, the rule associated with the one or more transactions; and
store the rule in the rules database to be used for monitoring the blockchain for the user.
4 . The monitoring system of claim 1 , wherein, to determine whether the rule applies to the one or more transactions, the at least one processor is configured to monitor an object associated with the one or more transactions.
5 . The monitoring system of claim 4 , wherein the object includes at least one of a smart contract on the blockchain, an account on the blockchain, or a standard asset on the blockchain.
6 . The monitoring system of claim 1 , wherein, to perform the one or more actions, the at least one processor is configured to send a notification to the user.
7 . The monitoring system of claim 1 , wherein, to perform the one or more actions, the at least one processor is configured to submit a transaction to the blockchain.
8 . The monitoring system of claim 1 , wherein, to perform the one or more actions, the at least one processor is configured to block one or more other transactions on the blockchain.
9 . The monitoring system of claim 1 , wherein the authentication code is derived from the private key.
10 . A method for blockchain monitoring, comprising:
request a latest-block identifier from a blockchain;
based on the latest-block identifier, identify a block on the blockchain;
detecting one or more transactions on the block;
retrieving, from a rules database, a rule associated with transactions on the block, wherein the rule includes whether an amount associated with the one or more transactions meets a threshold;
determining whether the rule applies to the one or more transactions on the block based on information from the blockchain;
performing one or more actions associated with the rule using an authentication code associated with a user, the authentication code being different than a private key of the user for accessing the blockchain; and
receiving, from a device associated with the user, the authentication code to be used for monitoring the blockchain for the user.
11 . The method of claim 10 , further comprising:
receiving information associated with the one or more transactions; and
determining whether the rule applies to the one or more transactions based on the information.
12 . The method of claim 10 , further comprising:
receiving, from the device associated with the user, the rule associated with the one or more transactions; and
storing the rule in the rules database to be used for monitoring the blockchain for the user.
13 . The method of claim 10 , wherein determining whether the rule applies to the one or more transactions includes monitoring an object associated with the one or more transactions.
14 . The method of claim 13 , wherein the object includes at least one of a smart contract on the blockchain, an account on the blockchain, or a standard asset on the blockchain.
15 . The method of claim 10 , wherein performing the one or more actions includes sending a notification to the user.
16 . A non-transitory computer-readable medium having instructions stored thereon, that when executed by one or more processors, cause the one or more processors to:
request a latest-block identifier from a blockchain;
based on the latest-block identifier, identify a block on the blockchain;
detect one or more transactions on the block;
retrieve, from a rules database, a rule associated with transactions on the block, wherein the rule includes whether an amount associated with the one or more transactions meets a threshold;
determine whether the rule applies to the one or more transactions on the block based on information from the blockchain;
perform one or more actions associated with the rule using an authentication code associated with a user, the authentication code being different than a private key of the user for accessing the blockchain; and
receive, from a device associated with the user, the authentication code to be used for monitoring the blockchain for the user.