

BuildIt is a metaverse project developed for the hackathon. It provides users with the ability to own virtual land within a map, place items on the land they own, and even sell the land to other users. The land is represented as ERC721 tokens, while the items are represented as ERC1155 tokens. All interactions within the metaverse are secured by smart contracts.
BuildIt is a metaverse project developed for the hackathon. It provides users with the ability to own virtual land within a map, place items on the land they own, and even sell the land to other users. The land is represented as ERC721 tokens, while the items are represented as ERC1155 tokens. All interactions within the metaverse are secured by smart contracts.
Go to smart_contracts
folder and install foundry and hardhat.
cd smart_contracts/
forge init
npm install
To compile smart contracts:
forge compile --skip test --skip script
# Or If you want to compile test files
forge compile --via-ir
To run test on smart contracts:
forge test --via-ir
To deploy smart contracts:
npx hardhat deploy --network $ChainName
Note: Don't forget to make .env file, refer .env.example file.
Chain | AxelarScan Link |
---|---|
Polygon Mumbai to Fantom Testnet | 0x6a75d12c64aa8eee1e747d62ccae645d981564ce32c22166e308bcaf058decb0 |
Fantom Testnet to Polygon Mumbai | 0x245ffb0c9f17ef3c677f9ffb20604ec68839f7c3fbb3aa5b3b2cf5f54c8ebcad |
Polygon Mumbai to Fantom Testnet | 0x5e92df374722bda02cde583c6f112421f38450e1a57fd93f4fbfb0e1c166af3e |
Fantom Testnet to Polygon Mumbai | 0x8591148343c3283188b7c83a9c7949091925868b2cce25c5e9db9932a74f7420 |
The inspiration behind BuildIt comes from the desire to create an immersive metaverse experience where users can explore, own, and customize virtual land. We wanted to empower users to express their creativity and engage with a virtual world where they have control over their own unique space.
BuildIt allows users to:
When a user connects their wallet, the game fetches data from the smart contracts and highlights the portion of the map that the user owns. Users can then click the "Edit" button to place or remove items on their land. They have the option to cancel or confirm the changes, which updates the items in the appropriate locations. Smart contract checks ensure that users can only interact with the land they own.
In addition, BuildIt includes a marketplace where users can sell their land through direct listings or auctions. Chainlink automation can be utilized for auction listings, and if the chain supports Chainlink price feeds, the land can be sold in USD. The marketplace provides an easy and secure way for users to trade their land.
BuildIt was built using the following technologies and tools:
During the development of BuildIt, we encountered several challenges, including:
Throughout the development process, we achieved several accomplishments that we're proud of, including:
The development of BuildIt provided us with valuable learning experiences, including:
BuildIt is an ongoing project, and we have exciting plans for its future:
We are dedicated to continuously improving and expanding BuildIt to create a vibrant and immersive metaverse experience for all users.