# vrc25

> Specifications for VRC25 token and gas sponsored program

Latest version **1.0.3** (published 2023-11-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install vrc25
pnpm add vrc25
yarn add vrc25
bun add vrc25
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-11-20 |
| First published | 2023-11-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 72 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Coin98 Labs |
| Maintainers | tphanson |

## Links

- npm: https://www.npmjs.com/package/vrc25
- Repository: https://github.com/tuphan-dn/trc25
- Homepage: https://github.com/tuphan-dn/trc25#readme
- Issues: https://github.com/tuphan-dn/trc25/issues
- npm.io page: https://npm.io/package/vrc25

## Recent versions

- 1.0.3 (latest) — 2023-11-20
- 1.0.2 — 2023-11-13
- 1.0.1 — 2023-11-13
- 1.0.0 — 2023-11-13

## README

# VRC25 Specifications

## Installation

```bash
npm install vrc25
```

## Usage

```ts
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "vrc25/contracts/VRC25.sol";

contract MyToken is VRC25 {
  constructor() VRC25("MyToken", "TKN", 9) {
    _mint(msg.sender, 1000000 * 10 ** 9); // You can remove this line if doesn't want to initial mint
  }

  function _estimateFee(
    uint256 value
  ) internal view virtual override returns (uint256) {
    // We will require the sender pay nothing in this example.
    // In case of avoiding spams, you can charge a small number of tokens.
    return value * 0;
  }
}
```

## How to call `apply`/`charge` to the VRC25 Issuer?

You can use the GUI here [https://viction.tuphan.dev](https://viction.tuphan.dev) which supports both testnet and mainnet.

## LICENSE

Apache-2.0

---
_Source: https://npm.io/package/vrc25 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
