Skip to content

This a solidity NFT marketplace smart contract that built for Ethereum blockchain.

Notifications You must be signed in to change notification settings

davidbong-05/elysium-smart-contract

Repository files navigation

Elysium

This is the smart contract for a NFT marketplace that is built on the Ethereum blockchain. It is my final year project for my Bachelor of Computer Science (Software Engineering) with Honour at the Universiti Malaysia Sarawak.

Project Description

Front End:

Back End:

The project is built using the following technologies:

Project Setup (Sepolia Testnet)

Step 1: Clone the repository

git clone https://github.com/davidbong-05/elysium-smart-contract.git

Step 2: Rename the .env.example file to .env and fill in the required information

# .env.example
SEPOLIA_RPC_URL="<YOUR_SEPOLIA_RPC_URL_HERE>"
PRIVATE_KEY="<YOUR_METAMASK_PRIVATE_KEY_HERE>"

Step 3: Deploy the smart contract to Sepolia testnet Make sure you have enough sepolia testnet ETH in your wallet. You can get sepolia testnet ETH from here or any other faucet.

npx hardhat run scripts/deploy.js --network sepolia

Step 4: The address of the smart contract will be displayed in the terminal

Elysium smart contract deployed to ${market.address}
NFT Factory smart contract deployed to ${factory.address}`

Project Setup (Local)

Step 1: Clone the repository

git clone https://github.com/davidbong-05/elysium-smart-contract.git

Step 2: Run a local blockchain

npx hardhat node

Step 3: Add Localhost 8545 to metamask

Network Name: Localhost 8545
New RPC URL: http://localhost:8545
Chain ID: 31337
Currency Symbol: ETH

Step 4: Import 1 of the private key into metamask

Account #0: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (10000 ETH)
Private Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

Account #1: 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 (10000 ETH)
Private Key: 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d

Account #2: 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC (10000 ETH)
Private Key: 0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a

Account #3: 0x90F79bf6EB2c4f870365E785982E1f101E93b906 (10000 ETH)
Private Key: 0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6

WARNING: These accounts, and their private keys, are publicly known.
Any funds sent to them on Mainnet or any other live network WILL BE LOST.

Step 5: Rename the .env.example file to .env and fill in the required information

# .env.example
SEPOLIA_RPC_URL="<YOUR_SEPOLIA_RPC_URL_HERE>" #doesnt matter if you are running locally
PRIVATE_KEY="<YOUR_METAMASK_PRIVATE_KEY_HERE>" #use one of the private keys above

Step 6: Deploy the smart contract to local blockchain Make sure you have enough local ETH in your wallet. You can get the ETH from the local blockchain.

npx hardhat run scripts/deploy.js --network localhost

Step 7: The address of the smart contract will be displayed in the terminal

Elysium smart contract deployed to ${market.address}
NFT Factory smart contract deployed to ${factory.address}`

Other Information

You can interact with the smart contract using the project below:

Attention: The project is still under development and is not ready for production.

Contact

email: davidbong05@gmail.com

About

This a solidity NFT marketplace smart contract that built for Ethereum blockchain.

Topics

Resources

Stars

Watchers

Forks