Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LeoGrambert/SOLIDITY-campaign
Kickstart project POC on Ethereum Blockchain using Solidity and Smart Contract
https://github.com/LeoGrambert/SOLIDITY-campaign
blockchain javascript mocha nextjs nextjs-13 nodejs smart-contracts solidity truffle web3
Last synced: 23 days ago
JSON representation
Kickstart project POC on Ethereum Blockchain using Solidity and Smart Contract
- Host: GitHub
- URL: https://github.com/LeoGrambert/SOLIDITY-campaign
- Owner: LeoGrambert
- Created: 2023-01-29T15:52:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T21:43:14.000Z (about 1 year ago)
- Last Synced: 2023-10-26T22:32:13.401Z (about 1 year ago)
- Topics: blockchain, javascript, mocha, nextjs, nextjs-13, nodejs, smart-contracts, solidity, truffle, web3
- Language: JavaScript
- Homepage:
- Size: 922 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Solidity](https://img.shields.io/badge/Solidity-%23363636.svg?style=for-the-badge&logo=solidity&logoColor=white)
![Web3.js](https://img.shields.io/badge/web3.js-F16822?style=for-the-badge&logo=web3.js&logoColor=white)
![Ethereum](https://img.shields.io/badge/Ethereum-3C3C3D?style=for-the-badge&logo=Ethereum&logoColor=white)
![Next JS](https://img.shields.io/badge/Next-black?style=for-the-badge&logo=next.js&logoColor=white)
![Mocha](https://img.shields.io/badge/-mocha-%238D6748?style=for-the-badge&logo=mocha&logoColor=white)# Kickstarter POC on Ethereum Testnet Goerli Blockchain using Solidity, Smart Contract & Next.js
## Installation
```
npm install
```## Deploy Smart Contract
1/ Create .env and put your TEST account. **Don't use your real account.**
```
PRIVATE_KEY=**** **** **** **** **** **** **** **** **** **** **** ****
INFURA_URL=******
```2/ Call compile script && deploy script in order to deploy the smart contract on Goerli Testnet
```
npm run compile && npm run deploy
```3/ Create a .env.local file and copy/paste deployed address displayed in your terminal
```
NEXT_PUBLIC_DEPLOY_ADDRESS=0xbc1******
```## Set up the front application
```
npm run dev
```Go to localhost:3000 && Connect your Metamask with Goerli Testnet account
**Don't use your real account.**## Tests Smart Contract
With Mocha
```
npm run test
```