https://github.com/vanxh/paymagic-js
A library to interact with Paymagic API.
https://github.com/vanxh/paymagic-js
Last synced: about 2 months ago
JSON representation
A library to interact with Paymagic API.
- Host: GitHub
- URL: https://github.com/vanxh/paymagic-js
- Owner: vanxh
- Created: 2023-07-28T17:56:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T21:48:30.000Z (over 1 year ago)
- Last Synced: 2025-03-24T08:17:43.063Z (about 2 months ago)
- Language: TypeScript
- Size: 306 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Paymagic JS
A library to interact with [Paymagic API](https://docs.patchwallet.com/).
## Installation
```bash
npm install paymagic-js
```or you can use yarn
```bash
yarn add paymagic-js
```## Usage
```ts
import { Client } from 'paymagic-js';const client = new Client();
(async () => {
const resolvedName = await client.resolveName('vanxhh', 'twitter');
console.log(resolvedName);
})();
```