Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xjonaseb11/one_piece_dapp
Hello anime lovers out there๐ | Dive into the beauty of solidity with chainlink vrf by utilizing this app
https://github.com/0xjonaseb11/one_piece_dapp
anime chainlink-vrf graph-cli hardhat reactjs solidity
Last synced: 1 day ago
JSON representation
Hello anime lovers out there๐ | Dive into the beauty of solidity with chainlink vrf by utilizing this app
- Host: GitHub
- URL: https://github.com/0xjonaseb11/one_piece_dapp
- Owner: 0xJonaseb11
- Created: 2024-03-13T12:29:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T07:44:53.000Z (9 months ago)
- Last Synced: 2024-05-21T13:25:36.441Z (8 months ago)
- Topics: anime, chainlink-vrf, graph-cli, hardhat, reactjs, solidity
- Language: JavaScript
- Homepage:
- Size: 8.54 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Hardhat Project
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
```## `Contract deployment`
```sh
npx hardhat run scripts/deploy.js --network arbitrum_sepolia
```## `Contract verification`
```sh
npx hardhat verify --constructor-args arguments.js --network arbitrum_sepolia
```-------------------
## `Installing and enabling grapgh protocol`
```sh
cd client
``````sh
# with npm
npm install -g @graphprotocol/graph-cli
# eith yarn
yarn global add @graphprotocol/graph-cli
```### `Initialize the subgraph`
```sh
graph init --studio one_piece_dapp
```### `Authenticate and deploy`
```sh
# authenticate in cli
graph auth --studio fd9731a523ad7fccab9c0617ccecb1f0
# Enter subgraph
cd one_piece_dapp
# build subgraph
graph codegen && graph build
```