DEV Community

Cover image for Build Together for Free with Sponsored Contracts on Sort
Sort
Sort

Posted on

Build Together for Free with Sponsored Contracts on Sort

Sponsor a contract address on Sort for only $9/month and make it free for anyone to use data produced by that contract.

We originally focused on charging each developer that uses Sort, but something didn’t feel right. Charging per developer works very well with traditional applications, but things are very different in crypto:

  • Protocols and contracts make revenue when they get transactions, driving transactions to a contract is very important
  • The more applications built on top of a contract, the more transactions will be generated, and that means more revenue (think about all the applications built on top of the UniSwap contracts)

Sort works with crypto projects and protocols to help drive developers to them, via Sort Sponsored Contracts.

When a contract is Sponsored on Sort, it is free for anyone to use data produced by that contract: SQL, push notifications, NFT metadata, and more. The contract author gets two large benefits:

  • Sort is their backend-as-a-service, no need to host servers anywhere (we’ll even give you disposable read-only API keys)
  • Incentive the community, let them build applications using contract data for free!

For instance, let’s look at the currently Sponsored contracts:

An API call to get latest transactions is free, using a demo API key:

const response = await fetch('https://api.sort.xyz/v1/queries/run', {
    method: 'POST',
    headers: {
      'x-api-key': "ec2fa3f2-7fdc-4342-9ebc-95f8b2bd7d21",
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      "query": "SELECT token_id as id, metadata_content FROM ethereum.nft_metadata WHERE contract_address = '0x887f3909c14dabd9e9510128ca6cbb448e932d7f'"
    }),
  })

const full_response = await response.json();
Enter fullscreen mode Exit fullscreen mode

Or use a Sort React Component to show latest transactions for the contract, for free:

<LatestTransactions  
contract_address="0x887f3909c14dabd9e9510128ca6cbb448e932d7f"
  api_key="ec2fa3f2-7fdc-4342-9ebc-95f8b2bd7d21"
  theme="dark"
  blockchain="ethereum"
/>
Enter fullscreen mode Exit fullscreen mode

Check out Sponsored Contracts on Sort, or Sponsor a contract address for only $9/month and make it free for anyone to use.

Image of AssemblyAI tool

Challenge Submission: SpeechCraft - AI-Powered Speech Analysis for Better Communication

SpeechCraft is an advanced real-time speech analytics platform that transforms spoken words into actionable insights. Using cutting-edge AI technology from AssemblyAI, it provides instant transcription while analyzing multiple dimensions of speech performance.

Read full post

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay