Skip to content

TrackingChains/EVMTrackingChain

Repository files navigation

EVMTrackingChain

Overview

This smart contract allows the insertion of a triplet of data called "Code", "DataValue", and "Closed". For each "Code" entered, a corresponding list of data will be created, enabling the "Get" function to retrieve the entire list. During the storage phase, the contract also records the block and timestamp to ensure a chronological order of incoming data. It is important to note that data can continue to be inserted until a value is provided for the "Code" with "Closed" set to True, which blocks further insertions.

Test

yarn test

Build and Deploy

yarn hardhat deploy --network testchainastar
yarn hardhat deploy --network testchainmoonbeam

About

Smart contract for EVM Tracking Chain

Resources

License

Stars

Watchers

Forks

Packages

No packages published