> For the complete documentation index, see [llms.txt](https://int-art.gitbook.io/scripty.sol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://int-art.gitbook.io/scripty.sol/examples/running-examples.md).

# Running Examples

You can find all the example contracts [here](https://github.com/intartnft/scripty.sol/tree/main/contracts/examples) and their deployments [here](https://github.com/intartnft/scripty.sol/tree/main/examples).&#x20;

### Running example deployment scripts

Running deployment scripts in `localhost` network will deploy new scripty contracts and its dependencies.&#x20;

If you run the scripts in `georli` network, they will use existing deployed contracts and some of the already stored JS won't be submitted to the network.

#### Running in `localhost` environment

Before running the examples, you will need to kick off a hardhat local node. This will fork the mainnet.

<pre class="language-javascript"><code class="lang-javascript"><strong>npx hardhat node
</strong></code></pre>

You need to keep the node alive while running the examples.&#x20;

Then, simply run example's deployment script:

```
npx hardhat run examples/ethfs_p5/deploy.js --network localhost
```

#### Running in `goerli` environment

Simply run example's deployment script:

```
npx hardhat run examples/ethfs_p5/deploy.js --network goerli
```
