mtfum / AlchemySwift

Unofficial Swift SDK for Alchemy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlchemySwift

This is an open source library on pure swift for Alchemy.

This object is to increase developers to get into Web3.

Features

Enhanced APIs

  • NFT
  • Transfer
  • Transaction Receipt
  • Token
  • Notify
  • Debug
  • Subscription (Web Socket)
  • Unstoppable Domains

Chain APIs

  • Ethreum
  • Polygon
  • Arbitrum
  • Optimisim
  • Solana

How to use

Initialization

  let config = Config(apiKey: "YOUR_API_KEY", network: .ethMainnet)
  let client = AlchemyClient(config: config)

NFT

  let address = "0xD563bb51ff55EFf701569b9aBE6F8F188BDC25Ff";
  let response = try await client.getNFTs(wallet: address)

Requirements

  • iOS 15.0+ / macOS 12 / tvOS 15.0+ / watchOS 8.0+
  • Swift 5.6+

Installation

Swift Package Manager

About

Unofficial Swift SDK for Alchemy

License:Apache License 2.0


Languages

Language:Swift 100.0%