README.md

# BazVenueAdapterOpenSea
[![Build Status](https://github.com/atlas-xyz/baz-venue-adapter-open-sea/workflows/test/badge.svg?branch=main)](https://github.com/atlas-xyz/baz-venue-adapter-open-sea/actions?query=workflow%3Atest)
[![hex.pm version](https://img.shields.io/hexpm/v/baz_venue_adapter_open_sea.svg?style=flat)](https://hex.pm/packages/baz_venue_adapter_open_sea)

[OpenSea](https://opensea.io) venue adapter for [`baz`](https://github.com/atlas-xyz/baz)

## Resources

| Venue                   | Supported |
| ----------------------- | :-------: |
| Collections             | [x]       |
| Collection Traits       | [x]       |
| Collection Assets       | [x]       |
| Collection Asset Traits | [x]       |
| Collection Events       | [x]       |

## Installation

Add the `baz_venue_adapter_open_sea` package to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:baz_venue_adapter_open_sea, "~> 0.0.7"}
  ]
end
```

## Usage

```elixir
config :baz,
  venues: %{
    "open_sea" => %{
      adapter: BazVenueAdapterOpenSea,
      collections: "*",
      start_on_boot: false,
      poll_stream_enabled: true,
      websocket_stream_enabled: false,
      credentials: %{
        api_key: System.get_env("OPEN_SEA_API_KEY")
      }
    }
  }
```

## Authors

- Alex Kwiatkowski - alex@atlas.xyz