---
# System prepended metadata

title: TokenGator Program Library (TPL)

---

# TokenGator Program Library (TPL)

Create presets of tokens with Token Extensions and mint tokens using those presets.

- https://github.com/pubkeyapp/tokengator-program-library



## Proof of concept

- Implement a `TokenGator Preset` program
- This program allows managing presets
- Operations:
    - Create a `PubKeyPreset`
    - Manage preset details
    - Any other operations that make logically sense
- Authorities:
    - The user who creates the preset gets added to authorities
    - Anyone listed in authorities can manage authorities
- We should be able to mint the same tokens as in the reference: https://github.com/pubkeyapp/tokengator/blob/main/libs/minter/src/lib/minter.ts



## Presets


```ts
interface TokenGatorPreset {
    name: string
    description: string
    imageUrl: string
    authorities: PubKey[]
    config: MinterConfig
    // https://github.com/pubkeyapp/tokengator/blob/main/libs/minter/src/lib/minter-config.ts
}

```

