BlockSec launches collaborative testing toolkit for private forked chains

With the toolkit, developers and security researchers can test, analyze and debug transactions via controlled private fork chains from the Ethereum mainnet.

Blockchain security tech firm BlockSec has launched a new toolkit that enables collaborative testing on private chains “forked from arbitrary (transaction) positions” and block numbers on the Ethereum mainnet.

The developer and security researcher-focused toolkit is dubbed the “Phalcon Fork” and launched on April 14.

Phalcon Fork aims to provide greater control over work being conducted on testnets, such as transaction testing, analysis and debugging.

In the user manual, BlockSec touts that this extra control comes from being able to easily “fork arbitrary (transaction) positions and block numbers,” and retain certain “services and states” from the Ethereum mainnet.

“Compared with traditional solutions like Goerli […], Phalcon Fork has the following advantages: retain services and states from the mainnet, facilitating rapid integration and debugging with other DeFi contracts. [And maintain] full control over block information (e.g., Timestamp, BaseFee, MixDigest),” the Phalcon Fork user manual reads.

With the toolkit, users can also utilize features such as snapshots, enabling them to save certain blockchain positions and revert back to them at will during their testing processes. The snapshots essentially record the transactions being executed and deployed by the user at a given time.

“The snapshot feature is particularly useful in the following two scenarios: When a user wants to run multiple times of a testing script, he/she just needs to revert to the original snapshot and rerun the script. [Or] When a user wants to save some states and return to them later, he/she can create a snapshot and then revert to this snapshot later,” the manual reads.

Phalcon Fork also has an integrated faucet so users can acquire free fork network Ether to conduct transactions on the private chains.

To directly interact with the chains and execute transactions, Phalcon Fork provides a remote procedure call node called Fork RPCwhich can be integrated with Ethereum Virtual Machine-compatible development frameworks such as Hardhat, Foundry and Remix or added to MetaMask.

As it stands, users can only fork from the Ethereum mainnet; however, future support for additional blockchains, such as the BNB Smart Chain and Arbitrum, has been teased.

Teased blockchain support additions. Source: Twitter

April has been a significant month for Ethereum developers, given that the highly anticipated Shapella hard fork went live on the Ethereum mainnet without a hitch on April 12. A major feature of the upgrade enables Ethereum validators to withdraw staked ETH from the Beacon Chain.

The move has been met with positive price action from Ether, with the asset gaining roughly 12% since April 12, to sit at $2,092 at the time of writing.

 Seven-day ETH price chart. Source: CoinGecko

Source: Cointelegraph.com

Previous articleElon Musk reportedly plans AI startup to rival ChatGPT-maker OpenAI
Next articleUS Congress to introduce new draft bill for stablecoins