open-index/open-npm huggingface dataset:
npm package: @nievelstone/paperprofit
Description: > Autogenerated file. Do not edit manually.
Latest version: 0.0.1

> Autogenerated file. Do not edit manually.

## @nievelstone&#x2F;paperprofit

#### Install

```
$ npm install @nievelstone&#x2F;paperprofit@0.0.1
```

#### Contracts

* Paperprofit

#### Deployed Addresses

* Paperprofit
    - PolygonMumbai: 0xa0f901fBD8B1bdB8044351Feff896492e52F0F7E

#### Usage Example

we can import contract's typescript type definition and abi, and then use them to create a contract instance and interactive with on-chain contracts using the instance:

```
import { Paperprofit } from "@nievelstone&#x2F;paperprofit/lib/contracts";
import { PaperprofitABI } from "@nievelstone&#x2F;paperprofit/lib/abi";

const contract: Paperprofit = new ethers.Contract("0xAb...yZ", PaperprofitABI, provider) as unknown as Paperprofit;
```

or, we can create a contract instance use `at(address)` directly and interactive with on-chain contracts using the instance:

```
import { Paperprofit } from "@nievelstone&#x2F;paperprofit/lib/contracts";
import { PaperprofitContract } from "@nievelstone&#x2F;paperprofit";

const contract: Paperprofit = PaperprofitContract.at("0xAb...yZ").connect(provider);
```

if you are using `hardhat-deployed-records` plugin and config `includeDeployed: true`, you can create a contract instance use `at[network]()` with builtin **contract address** from this package:

```
import { Paperprofit } from "@nievelstone&#x2F;paperprofit/lib/contracts";
import { PaperprofitContract } from "@nievelstone&#x2F;paperprofit";

const contract: Paperprofit = PaperprofitContract.atPolygonMumbai().connect(provider);
```