Customized blockchain infrastructure
Various aspects of the subject technology relate to systems, methods, and machine-readable media for generating a heterogeneous network of blockchains. The method includes generating a platform blockchain having a single replicated state machine. The method includes generating at least one subnet based in part on the platform blockchain, the subnet including at least one blockchain, the generating causing bonding or burning of a base asset of the platform blockchain. The method includes specifying validators for the at least one subnet. The platform blockchain includes a source of truth for transactions across the subnets.
1 . A computer-implemented method for generating a heterogeneous network of blockchains, comprising:
generating a platform blockchain comprising a replicated state machine;
generating a subnet based in part on the platform blockchain, the subnet comprising at least one blockchain, the generating the subnet causing bonding or burning of a base asset of the platform blockchain, the generating the subnet comprising customizing the subnet, the customizing specifying a virtual machine that implements the replicated state machine for the subnet; and
specifying validators for the subnet, wherein the platform blockchain comprises a source of truth for a transaction between the subnet and a second subnet of the platform blockchain.
2 . The computer-implemented method of claim 1 , wherein the subnet comprises at least one of a private subnet, a proof-of-authority subnet, a permissionless subnet, and a non-consensus subnet.
3 . The computer-implemented method of claim 1 , further comprising:
initiating at least one transaction from the subnet to the second subnet of the platform blockchain.
4 . The computer-implemented method of claim 1 , wherein the validators comprise proof-of-stake validators including an asset named by a creator of the subnet.
5 . The computer-implemented method of claim 1 , wherein the validators comprise proof-of-authority validators, and wherein authority is specified by a creator of the subnet.
6 . The computer-implemented method of claim 1 , wherein the subnet is configured to provide rewards to users.
7 . The computer-implemented method of claim 1 , wherein the validators of the subnet perform minting of a virtual currency via proof-of-work.
8 . The computer-implemented method of claim 1 , further comprising:
determining a fee structure for the subnet; and
implementing the fee structure by a creator of the subnet.
9 . The computer-implemented method of claim 1 , wherein inter-subnet communication is utilized to perform a cross-subnet transfer, wherein the cross-subnet transfer comprises an export operation on a source subnet that places one or more digital assets into a database, and an import operation on a destination subnet that checks and moves the one or more digital assets from the database to a specific blockchain.
10 . A system for generating a heterogeneous network of blockchains, comprising:
a processor; and
a memory comprising instructions stored thereon, which when executed by the processor, causes the processor to perform:
generating a platform blockchain comprising a replicated state machine;
generating a subnet based in part on the platform blockchain, the subnet comprising at least one blockchain, the generating the subnet causing bonding or burning of a base asset of the platform blockchain, the generating the subnet comprising customizing the subnet, the customizing specifying a virtual machine that implements the replicated state machine for the subnet; and
specifying validators for the subnet, wherein the platform blockchain comprises a source of truth for a transaction between the subnet and a second subnet of the platform blockchain.
11 . The system of claim 10 , wherein the subnet comprises at least one of a private subnet, a proof-of-authority subnet, a permissionless subnet, and a non-consensus subnet.
12 . The system of claim 10 , further comprising stored sequences of instructions, which when executed by the processor, cause the processor to perform:
initiating at least one transaction from the subnet to the second subnet of the platform blockchain.
13 . The system of claim 10 , wherein the validators comprise proof-of-stake validators including an asset named by a creator of the subnet.
14 . The system of claim 10 , wherein the validators comprise proof-of-authority validators, and wherein authority is specified by a creator of the subnet.
15 . The system of claim 10 , wherein the subnet is configured to provide rewards to users.
16 . The system of claim 10 , wherein the validators of the subnet perform minting of a virtual currency via proof-of-work.
17 . The system of claim 10 , further comprising stored sequences of instructions, which when executed by the processor, cause the processor to perform:
determining a fee structure for the subnet; and
implementing the fee structure by a creator of the subnet.
18 . A non-transitory computer-readable storage medium comprising instructions stored thereon, which when executed by one or more processors, cause the one or more processors to perform a method for generating a heterogeneous network of blockchains, the method comprising:
generating a platform blockchain comprising a replicated state machine;
generating a subnet based in part on the platform blockchain, the subnet comprising at least one blockchain, the generating the subnet causing bonding or burning of a base asset of the platform blockchain, the generating the subnet comprising customizing the subnet, the customizing specifying a virtual machine that implements the replicated state machine for the subnet; and
specifying validators for the subnet, wherein the platform blockchain comprises a source of truth for a transaction between the subnet and a second subnet of the platform blockchain.