t8 / stats

πŸ“Š Embeddable statistics for the Verto Exchange Network

Home Page:https://stats.verto.exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verto logo (dark version)

Verto

A decentralized PST exchange for Arweave

About

This is a service that allows you to import trading statistics from Verto straight into your applications!

You can access the code for trading posts here.

Important Notice: Verto is in its Alpha stage. If you have a suggestion, idea, or find a bug, please report it! The Verto team will not be held accountable for any funds lost.

Guide

/price

This endpoint accepts a token in the form of a url query.

You can pass it in as follows: /price?token=<MY_TOKEN_ID_HERE>.

A token is a valid transaction ID for your PST smart contract.

Once you visit this url, you will be given a graph of your PST price over time.

You can then embed this using an iframe as follows:

<iframe
  src="https://stats.verto.exchange/price?token=<MY_TOKEN_ID_HERE>"
  title="Token Price"
></iframe>

Alternatively, if you'd like to embed a direct Arweave url, you can use:

<iframe
  src="https://qvi6l6m6qpbay6u4fw5emzs275hghwni4lfpaf43kgkncsji4eya.arweave.net/hVHl-Z6Dwgx6nC26RmZa_05j2ajiyvAXm1GU0Uko4TA?token=<MY_TOKEN_ID_HERE>"
  title="Token Price"
></iframe>

/volume

This endpoint accepts a token in the form of a url query.

You can pass it in as follows: /volume?token=<MY_TOKEN_ID_HERE>.

A token is a valid transaction ID for your PST smart contract.

Once you visit this url, you will be given a graph of how much of that PST has gone through the Verto Exchange Network.

You can then embed this using an iframe as follows:

<iframe
  src="https://stats.verto.exchange/volume?token=<MY_TOKEN_ID_HERE>"
  title="Token Volume"
></iframe>

Alternatively, if you'd like to embed a direct Arweave url, you can use:

<iframe
  src="https://z22ljixatdaxvjlv52fazbhgcx46dfwxqvsjdj4ka72npehh7d2q.arweave.net/zrS0ouCYwXqlde6KDITmFfnhlteFZJGnigf015Dn-PU?token=<MY_TOKEN_ID_HERE>"
  title="Token Volume"
></iframe>

Special Thanks

License

The code contained within this repository is licensed under the MIT license. See ./LICENSE for more information.

About

πŸ“Š Embeddable statistics for the Verto Exchange Network

https://stats.verto.exchange

License:MIT License


Languages

Language:TypeScript 90.7%Language:CSS 7.9%Language:HTML 1.4%