https://github.com/l1zle/fullstack-blockchain-tutorial
This is a full-stack blockchain project that enables users to deploy and interact with basic smart contracts through a localhosted website. The project facilitates the deployment of smart contracts and their integration with a frontend interface for seamless interaction with the blockchain.
https://github.com/l1zle/fullstack-blockchain-tutorial
blockchain blockchain-technology fullstack-development solidity
Last synced: about 2 months ago
JSON representation
This is a full-stack blockchain project that enables users to deploy and interact with basic smart contracts through a localhosted website. The project facilitates the deployment of smart contracts and their integration with a frontend interface for seamless interaction with the blockchain.
- Host: GitHub
- URL: https://github.com/l1zle/fullstack-blockchain-tutorial
- Owner: L1ZLe
- License: mit
- Created: 2024-03-13T15:01:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T16:29:07.000Z (over 2 years ago)
- Last Synced: 2025-01-12T09:30:08.520Z (over 1 year ago)
- Topics: blockchain, blockchain-technology, fullstack-development, solidity
- Language: JavaScript
- Homepage:
- Size: 214 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blockchain Fullstack Project
## Description
This is a full-stack blockchain project that enables users to deploy and interact with basic smart contracts through a localhosted website. The project facilitates the deployment of smart contracts and their integration with a frontend interface for seamless interaction with the blockchain.
## Features
- Deployment of basic smart contracts
- Integration with a frontend interface
- Interaction with deployed contracts through a localhosted website
- Testing functionality with Hardhat
- Gas estimation and USD cost estimation
- Automatic verification of contracts on Etherscan
## Installation
1. Clone the repository.
2. Install dependencies using Yarn: `yarn install`
## Usage
1. Deploy the smart contracts: `yarn hardhat deploy`
2. Test the contracts: `yarn hardhat test`
3. Connect to a testnet: `yarn hardhat deploy --network sepolia`
4. Run scripts for funding or withdrawal: `yarn hardhat run scripts/fund.js` or `yarn hardhat run scripts/withdraw.js`
5. Verify contracts on Etherscan: `yarn hardhat verify --constructor-args arguments.js DEPLOYED_CONTRACT_ADDRESS`
## Environment Setup
- Set SEPOLIA_RPC_URL and PRIVATE_KEY as environment variables. You can add them to a .env file.
- Obtain testnet ETH from faucets.chain.link and ensure it shows up in your Metamask.
## Support
For help or inquiries, feel free to reach out via oundel.store@gmail.com or open an issue in the repository.
## License
This project is licensed under the [MIT License](LICENSE).