├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .solhint.json ├── .solhintignore ├── README.md ├── contracts └── LayerZeroDemo1.sol ├── hardhat.config.js ├── interfaces ├── ILayerZeroEndpoint.sol ├── ILayerZeroMessagingLibrary.sol ├── ILayerZeroOracle.sol ├── ILayerZeroReceiver.sol ├── ILayerZeroRelayer.sol ├── ILayerZeroTreasury.sol ├── ILayerZeroUltraLightNodeV1.sol └── ILayerZeroUserApplicationConfig.sol ├── package.json └── scripts ├── demo1_mumbai.js ├── demo1_testnet.js ├── deploy_mumbai.js └── deploy_testnet.js /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | artifacts 3 | cache 4 | coverage 5 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | artifacts 3 | cache 4 | coverage* 5 | gasReporterOutput.json 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/README.md -------------------------------------------------------------------------------- /contracts/LayerZeroDemo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/contracts/LayerZeroDemo1.sol -------------------------------------------------------------------------------- /hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/hardhat.config.js -------------------------------------------------------------------------------- /interfaces/ILayerZeroEndpoint.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroEndpoint.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroMessagingLibrary.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroMessagingLibrary.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroOracle.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroReceiver.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroRelayer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroRelayer.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroTreasury.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroTreasury.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroUltraLightNodeV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroUltraLightNodeV1.sol -------------------------------------------------------------------------------- /interfaces/ILayerZeroUserApplicationConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/interfaces/ILayerZeroUserApplicationConfig.sol -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/package.json -------------------------------------------------------------------------------- /scripts/demo1_mumbai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/scripts/demo1_mumbai.js -------------------------------------------------------------------------------- /scripts/demo1_testnet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/scripts/demo1_testnet.js -------------------------------------------------------------------------------- /scripts/deploy_mumbai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/scripts/deploy_mumbai.js -------------------------------------------------------------------------------- /scripts/deploy_testnet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/The-dLab/LayerZero-Demo/HEAD/scripts/deploy_testnet.js --------------------------------------------------------------------------------