# Data Upload Service

This service is used with Arweave Data Storage SDK to upload data to Arweave and pay for the storage using other chain's stablecoin tokens.

***Supported chains and stablecoins***

*Ethereum and EVM:* USDC and USDT

*Solana:* USDC and USDT

*Cosmos:* Noble

*If you would like to request support for a stablecoin payment on a different chain, please open an issue in the github repo* [*here*](https://docs.arweavekit.com/data-upload-service)

### Prerequisites

* Docker
* Node.js (>= v20.18.3)
* pnpm (>= v9.14.2)

### Installation

```
pnpm install
```

### Running the service

```
pnpm start:dev
```

### Running the service in production mode

```
pnpm start:prod
```

### Prisma migrations

```
pnpm db:migrate:dev
```

```
pnpm db:migrate:prod
```

### Prisma Studio

```
pnpm db:studio

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arweavekit.com/data-upload-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
