Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinax-network/substreams-atomicassets
AtomicAssets Assets Table operations
https://github.com/pinax-network/substreams-atomicassets
Last synced: about 2 months ago
JSON representation
AtomicAssets Assets Table operations
- Host: GitHub
- URL: https://github.com/pinax-network/substreams-atomicassets
- Owner: pinax-network
- License: mit
- Created: 2023-10-30T13:27:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-16T14:59:04.000Z (about 1 year ago)
- Last Synced: 2024-04-01T16:23:37.024Z (9 months ago)
- Language: Rust
- Size: 31.3 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `AtomicAssets` powered by **Substreams**
[![Build Status](https://github.com/pinax-network/substreams-atomicassets/actions/workflows/test.yml/badge.svg)](https://github.com/pinax-network/substreams-atomicassets/actions/workflows/test.yml)
![Version](https://img.shields.io/github/v/release/pinax-network/substreams-atomicassets)
![License](https://img.shields.io/github/license/pinax-network/substreams-atomicassets)> AtomicAssets Tables operations & transfers
## Quick Start
```
gh repo clone pinax-network/substreams-atomicassets
cd substreams-atomicassets
make
make run # runs the map_events module for a block
```### 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### `graph_out`
```json
{
"entityChanges": [
{
"entity": "Assets",
"id": "2199025347211",
"operation": "OPERATION_CREATE",
"fields": [
{
"name": "asset_id",
"newValue": {
"bigint": "2199025347211"
}
},
{
"name": "template_id",
"newValue": {
"int32": "9233"
}
},
{
"name": "scope",
"newValue": {
"string": "womplayitems"
}
},
{
"name": "collection_name",
"newValue": {
"string": "uplandislive"
}
}
]
}
]
}
```### Modules
```yaml
Package name: atomicassets
Version: v0.2.0
Doc: Substreams for AtomicAssets Tables
Modules:
----
Name: map_events
Initial block: 0
Kind: map
Output Type: proto:antelope.atomicassets.v1.AnyEvents
Hash: a7a4914fea37d5766fae4a8c34744ce6defc4f0aName: graph_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.entity.v1.EntityChanges
Hash: bc20455f1f9f3192d1ee64178af90cd33b5ff5cf
```