Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```