1. A computer implemented method for generating and deploying a code block in a blockchain, the method comprising: rendering, by a network node, a graphical user interface (GUI) containing a plurality of contract components and a plurality of document components retrieved from a library database of contract and document components; generating, by the network node, an assembled contract text based on a selection of at least one contract component from the plurality of contract components or at least one document component from the plurality of document components; retrieving, by the network node, an address of an executable code corresponding to the at least one contract component or an address of a text of the at least one document component from the library database of contract and document components; retrieving, by the network node, a first latest valid blockchain based upon a first polling of a plurality of network nodes using a consensus threshold; generating, by the network node, a code block containing the address of the executable code corresponding to the at least one contract component or the address of the text of the at least one document component; generating, by the network node, a block address for the code block based upon a cryptographic hash value of at least a portion of data records of a last block of the first latest valid blockchain; and appending, by the network node, the code block at the generated block address in the first latest valid blockchain.
2. The method of claim 1 , further comprising in response to detecting a digital event trigger by the network node: associating, by the network node, the digital event trigger to the deployed code block; retrieving, by the network node, a second latest valid blockchain based upon a second polling of the plurality of network nodes using the consensus threshold; downloading, by the network node, the code block to a memory of the network node; retrieving, by the network node, an executable code corresponding to the at least one contract component based on the address of the executable code; and executing, by the network node, the executable code to generate one or more outputs.