Omnichain protocol for deploying, minting, & bridging NFTs between blockchains.
Platform: Code4rena
Start Date: 18/10/2022
End Date: 25/10/2022
Period: 7 days
Status: Completed
Pot Size: $75,000 USDC
Participants: 144
Reporter: liveactionllama
Judge: gzeon
Id: 170
League: ETH
Trust | 1/144 | $27,733.34 | 12 | 4 | 2 | 7 | 3 | Grade B | 0 | 0 |
0xA5DF | 2/144 | $6,718.76 | 5 | 4 | 0 | 1 | 1 | 0 | 0 | 0 |
Lambda | 3/144 | $6,646.71 | 7 | 2 | 0 | 4 | 2 | Grade C | 0 | 0 |
0x52 | 4/144 | $4,660.40 | 4 | 2 | 0 | 1 | 1 | Grade C | 0 | 0 |
ladboy233 | 5/144 | $2,709.47 | 3 | 1 | 0 | 2 | 1 | 0 | 0 | 0 |
securerodd | 6/144 | $2,594.44 | 2 | 0 | 0 | 1 | 1 | Grade B | 0 | 0 |
rbserver | 7/144 | $2,594.44 | 3 | 0 | 0 | 1 | 1 | Grade B | Grade C | 0 |
bin2chen | 8/144 | $2,594.44 | 2 | 0 | 0 | 1 | 1 | Grade B | 0 | 0 |
adriro | 9/144 | $1,331.96 | 5 | 1 | 0 | 2 | 0 | Grade A | Grade B | 0 |
Chom | 10/144 | $1,241.69 | 4 | 2 | 0 | 1 | 0 | Grade C | 0 | 0 |
Auditor per page
Holograph provides omnichain NFT infrastructure for the web3 ecosystem. Holograph Protocol enables the creation, deployment, minting, & bridging of omnichain NFTs with complete data integrity.
yarn install
yarn run init
yarn clean-compile
Terminal 1
yarn ganache-x2
Terminal 2
yarn test
After this completes, don't forget to restart ganache. Some tests may fail upon running a second time.
When the project is built, the code in the src
folder gets written to the contracts
folder. The files in the contracts
folder are the "real" files that are used for testing and code verification on all the scanners.
Again, files from the src
directory are automatically transpiled into the contracts
directory each time that hardhat compiles the contracts.
File | Description | Lines Of Code |
---|---|---|
HolographBridge.sol | primary use for FE user to make cross-chain beam request | 226 |
HolographOperator.sol | finalizes cross-chain beam | 434 |
HolographFactory.sol | combines deployment config and deploys holographable contracts | 135 |
module/LayerZeroModule.sol | controls the exit and entry points for bridging | 228 |
enforcer/Holographer.sol | wrapper for custom user contract and standards enforcer contract | 83 |
enforcer/PA1D.sol | responds to royalty info for ERC721 contracts | 367 |
enforcer/HolographERC721.sol | ERC721 standards enforcer | 482 |
enforcer/HolographERC20.sol | ERC20 standards enforcer | 495 |
abstract/ERC721H.sol | helper contract to use as base when creating custom ERC721 holographable contracts | 82 |
abstract/ERC20H.sol | helper contract to use as base when creating custom ERC20 holographable contracts | 82 |
├── config: Network configuration files ├── contracts: Smart contracts that power the Holograph protocol ├── deploy: Deployment scripts for the smart contracts uses Hardhat and our Hardhat and Hardhat-deploy ├── deployments: Deployment build files that include contract addresses on each network ├── scripts: Scripts and helper utilities ├── src: Source contracts that get dynamically transpiled down into the finalized output contracts └── test:Hardhat tests for the smart contracts