LandWorks is a protocol, developed by EnterDao. Detailed information and description can be found in the Whitepaper.
Audits on the LandWorks Protocol and Yield Farming contracts:
Mainnet Deployment Addresses
DiamondCutFacet
:0xd86a91c5a96adede0d79ae11c63541f336d48a08
DiamondLoupeFacet
:0x1c2fe56a7fa18e08e2cf1e8ac8543b9b190d1be1
OwnershipFacet
:0x620d20a801c4e3c3d83a88354cc57b904998d137
FeeFacet
:0x6c567026f5a1cd09313170ec77adbbf08fa7f409
ERC-721Facet
:0x4e0ea52c528647cec98e78cfc1770f9e4e814204
MarketplaceFacet
:0xF74dECe647bF75e86c0c78486F228a7C5475c652
DecentralandFacet
:0xdd65d876f00a4203dc9be33b2728852d3bd7e61c
LandWorks (Diamond)
:0x678D837fA15eba2B59f6CD5F9F4C580AC2Dfc269
hardhat - framework used for the development and testing of the contracts
After cloning, run:
cd LandWorks-contracts
npm install
Prerequisite
Before running the deploy npx hardhat
script, you need to create and populate the config.ts
file. You can use the config.sample.ts
file and populate the following variables:
YOUR-INFURA-API-KEY
YOUR-ETHERSCAN-API-KEY
Before you deploy the contracts, you will need to compile them using:
npx hardhat compile
Deployment Script
- Deploys all the facets
- Deploys the LandWorks Diamond with all the facets as diamond cuts
- Inits the LandWorks Diamond with the provided
owner
address - Verifies all deployed contracts in Etherscan
npx hardhat deploy \
--network <network name>
npx hardhat test
npm run coverage
or
npx hardhat coverage --solcoverjs .solcover.ts