https://github.com/core-laboratories/payto
Decentralized transfer of Assets
https://github.com/core-laboratories/payto
payto rfc-8905
Last synced: 4 months ago
JSON representation
Decentralized transfer of Assets
- Host: GitHub
- URL: https://github.com/core-laboratories/payto
- Owner: core-laboratories
- License: other
- Created: 2023-01-10T16:32:12.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-15T18:18:56.000Z (6 months ago)
- Last Synced: 2025-07-22T09:51:05.284Z (5 months ago)
- Topics: payto, rfc-8905
- Language: Svelte
- Homepage: https://payto.money
- Size: 1.12 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PayTo Money
> Decentralized Asset Transfer
The 'payto' URI scheme builder supports payments as outlined in [RFC 8905](https://datatracker.ietf.org/doc/rfc8905/) and subsequent amendments.
## Technical Specifications and Organizational Notes
- [Extended PayTo URI](docs/scheme.md)
- [RFC 8905](https://datatracker.ietf.org/doc/rfc8905/)
## PayTo Libraries
**TypeScript / JavaScript:**
- [PayTo resource locator](https://github.com/core-laboratories/payto-rl)
## Project Initialization
If you're reading this, you've likely already initialized your project. Congratulations!
```bash
# To create a new project in the current directory
npm create svelte@latest
# To create a new project in the 'my-app' directory
npm create svelte@latest my-app
```
## Development
After initializing your project and installing the necessary dependencies with `npm install` (or `pnpm install` or `yarn`), you can start a development server:
```bash
npm run dev
# To start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```bash
npm run build
```
You can preview the production build using:
```bash
npm run preview
```
> For deploying your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) suited to your target environment.
## Pro Features
You can see the [Pro plans](https://payto.money/pro) for more information.
To customize the Pass, you can become the authority of your own Pass. Each authority has a maximum pass validity of 3 years instead of 1 year.
Issuing authorities[^authority] deliver an object like this example to the email: [sales@payto.money](mailto:sales@payto.money?subject=PayTo%20Authority%20Request)
```json
{
"id": "payto",
"name": "PayTo",
"identifier": "pass.money.payto",
"url": "https://payto.money",
"icons": {
"icon": "https://payto.money/icons/icon.png",
"icon2x": "https://payto.money/icons/icon@2x.png",
"icon3x": "https://payto.money/icons/icon@3x.png",
"logo": "https://payto.money/icons/logo.png",
"logo2x": "https://payto.money/icons/logo@2x.png"
},
"theme": {
"colorB": "#77bc65",
"colorF": "#192a14",
"colorTxt": "#192a14"
},
"forceTheme": false,
"customCurrencyData": {
"XCB": {
"symbol": "₡",
"narrowSymbol": "₡",
"code": "XCB",
"name": "CoreCoin",
"defaultDecimals": 2
}
},
"currencyLocale": "en-US"
}
```
Where:
- `id`: The authority ID of the Pass. (Required, unique, lowercase, no spaces)
- `name`: The organization name of the Pass. If set, it is forced on the Pass. (Default: PayTo)
- `identifier`: The identifier of the Pass. (Required, unique, lowercase - reverse DNS example: `pass.money.payto`)
- `url`: The URL of the Pass. (Default: none)
- `icons`: The icons of the Pass. (Default: PayTo logo)
- `theme`: The theme of the Pass. (Default: PayTo theme)
- `forceTheme`: Whether to force the theme if the user has set their own. (Default: false)
- `customCurrencyData`: The custom currency data of the Pass. (Default: none)
- `currencyLocale`: The currency locale of the Pass. (Default: undefined - autodetect)
[^authority]: Available for the [Business plan](https://payto.money/pro).
After successfully registering the authority, you need to append the `authority` parameter to the URL:
```txt
https://payto.money?authority={id}
```
## License
This project is licensed under the [CORE](LICENSE) License.
## Funding
If you find this project useful, please consider supporting it:
- [GitHub Sponsors](https://github.com/sponsors/core-laboratories)
- [Core](https://blockindex.net/address/cb7147879011ea207df5b35a24ca6f0859dcfb145999)
- [Bitcoin](https://www.blockchain.com/explorer/addresses/btc/bc1pd8guxjkr2p6n2kl388fdj2trete9w2fr89xlktdezmcctxvtzm8qsymg0d)
- [Litecoin](https://www.blockchain.com/explorer/addresses/ltc/ltc1ql8dvx0wv0nh2vncpt9j3zqefaehsd25cwp7pfx)
List of sponsors: [](https://github.com/sponsors/core-laboratories)