/union-service-public

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

Rarible Protocol

Rarible Protocol is a decentralized multichain toolset that simplifies the way developers can work with NFTs. Protocol builds an abstraction layer for several blockchains and isolates the developer from their specifics with Multichain SDK.

You can find detailed documentation at docs.rarible.org.

API Reference

Use these base URLs to access our API on different networks:

Documentation Base URL Environments
multichain-api.rarible.org For all environments
api.rarible.org/v0.1/doc https://api.rarible.org/v0.1 Production (Mainnet)
api-staging.rarible.org/v0.1/doc https://api-staging.rarible.org/v0.1 Staging (Rinkeby, Mumbai)
dev-api.rarible.org/v0.1/doc https://dev-api.rarible.org/v0.1 Development (Ropsten, Mumbai, Ithaca)

Also see additional information and usage examples on the API Reference and Search Capabilities pages.

Rarible Protocol SDK

Protocol SDK is available on GitHub: https://github.com/rarible/sdk

Activating a new evm blockchain

  1. Activate enabled flag, for example: integration.eth.arbitrum.enabled: true
  2. Restart union services: indexer, worker, api, listener
  3. Create tasks for enabled blockchain:
    • SYNC_COLLECTION_TASK with param {"blockchain" : "ARBITRUM", "scope" : "EVENT"}
    • ITEM_REINDEX using endpoint /maintenance/es/reindex/item with esIndex=protocol_union_testnet_item_1
    • SYNC_OWNERSHIP_TASK with param {"blockchain" : "ARBITRUM", "scope" : "EVENT"}
    • SYNC_ACTIVITY_TASK with param {"blockchain" : "ARBITRUM", "scope" : "EVENT", "type" : "NFT"}

Suggestions

You are welcome to suggest features and report bugs found!

Contributing

The codebase is maintained using the "contributor workflow" where everyone without exception contributes patch proposals using "pull requests" (PRs). This facilitates social contribution, easy testing, and peer review.

See more information on CONTRIBUTING.md.

License

Rarible Protocol is available under GPL v3.

SDK and openapi (with generated clients) are available under MIT.