Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinax-network/substreams-atomicmarket
AtomicMarket Sales Substreams
https://github.com/pinax-network/substreams-atomicmarket
Last synced: about 2 months ago
JSON representation
AtomicMarket Sales Substreams
- Host: GitHub
- URL: https://github.com/pinax-network/substreams-atomicmarket
- Owner: pinax-network
- License: mit
- Created: 2023-10-02T14:30:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-16T14:29:10.000Z (about 1 year ago)
- Last Synced: 2024-04-01T16:23:37.092Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `Atomicmarket` powered by **Substreams**
[![Build Status](https://github.com/pinax-network/substreams-atomicmarket/actions/workflows/test.yml/badge.svg)](https://github.com/pinax-network/substreams-atomicmarket/actions/workflows/test.yml)
![Version](https://img.shields.io/github/v/release/pinax-network/substreams-atomicmarket)
![License](https://img.shields.io/github/license/pinax-network/substreams-atomicmarket)> Sales related events: AnnounceSale, AnnounceAuction, NewBuyOffer, PurchaseSale, NewSale, AssertSale
## Quick Start
```
make
make gui
```### Mermaid graph
```mermaid
graph TD;
map_events[map: map_events];
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_events;
graph_out[map: graph_out];
map_events --> graph_out;
```
## Map Outputs### `map_events`
```json
{
"items": [
{
"assertSale": {
"trxId": "b70bfe7ddea07a0be32991684fff17d6d74825e905b785e43be236845779f318",
"saleId": "2319916",
"seller": "ghaterruuwwu",
"assetIds": ["2199025081834"],
"offerId": "2324267",
"listingPrice": "0.2079 EOS",
"settlementSymbol": "4,EOS",
"collectionName": "chessunivers",
"collectionFee": "0.08000000000000000"
}
},
{
"purchaseSale": {
"trxId": "b70bfe7ddea07a0be32991684fff17d6d74825e905b785e43be236845779f318",
"buyer": "knottsy1.ftw",
"saleId": "2319916"
}
}
...
]
}
```### Modules
```yaml
Package name: atomicmarket
Version: v0.3.2
Doc: Substreams for AtomicMarket
Modules:
----
Name: map_events
Initial block: 0
Kind: map
Output Type: proto:antelope.atomicmarket.v1.AnyEvents
Hash: 07452073c9c51edc6996f620b39f266511505816Name: graph_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.entity.v1.EntityChanges
Hash: d2c0bcf1d4641dafb70c3ff43e73ce8fa1afff98
```