Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/docs/guides/basics/qrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ npm install --save @types/node

This will install typescript for our project and install the types for node.

Next create a `tsconfig.json` file in your project directory with the following content:

```json
{
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"target": "es2022",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"types": ["node"]
}
}
```

## Step 3: Set up web3.js and connect to a local Gqrl node

In this step, we will set up the web3.js library and connect to a local Gqrl development node. Make sure Gqrl is running locally with HTTP JSON-RPC available at `http://localhost:8545`.
Expand Down
Loading