An Alchemy Platform client for Flutter & Dart

Overview

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Alchemy

An Alchemy Platform client for Flutter & Dart

Report Bug · Request Feature

Web3 development made easy

One magic line of code supercharges your development with the world’s most powerful blockchain developer platform, relied upon by the majority of the world's top blockchain apps.

Table of Contents

About The Project

An Alchemy Platform client for Flutter & Dart!

  • Supports Ethereum and Alchemy Enhanced APIs
  • Uses Web Sockets for Ethereum-based APIs and HTTP for Alchemy NFT APIs

Playground Desktop App

Supported Platforms

  • iOS
  • Android
  • MacOS
  • Windows
  • Linux
  • Web

Built With

Google Flutter SDK

Getting Started

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/oliverbytes/alchemy_web3.git
  1. Install packages dependencies
flutter pub get
  1. Run
flutter run

Usage

// Import Package
import 'package:alchemy_web3/alchemy.dart';

// Instantiate Object
final alchemy = Alchemy();

// Configuration
alchemy.init(
  httpRpcUrl: <Alchemy-HTTP-API-URL>,
  wsRpcUrl: <Alchemy-WS-API-URL>,
  verbose: true,
);

// start web sockets
alchemy.start();

// Making requests
final result = await alchemy.polygon.getBalance(
  address: '0x2355Dc1f1eEAfFE537535B7B7B410E5dCCBAC3b8',
);

result.fold(
  (error) => debugPrint(
    'Error: ${error.code} : ${error.message}',
  ),
  (response) => debugPrint(
    'Response: ${response.getInEther} : ${response.toString()}',
  ),
);

// stop web sockets
alchemy.stop();

Roadmap

  • Complete API
  • Improve Error Codes
  • Merge some web3dart functionalities
  • Unit Testing

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Oliver Martinez - @oliverbytes - [email protected]

Project Link: https://github.com/oliverbytes/alchemy_web3

Acknowledgements

You might also like...

Purpose of this project is to create extendable architecture of making platform aware Widgets which automatically select platform specific implementation

Old good factory Main obstacle in creating native experience on Flutter is the fact that you are asked to rebuild two layouts using platform specific

Oct 14, 2022

A Dart client for the NATS messaging system. Design to use with Dart and Flutter.

Dart-NATS A Dart client for the NATS messaging system. Design to use with Dart and flutter. Flutter Web Support by WebSocket client.connect(Uri.parse(

Nov 18, 2022

Socketio dart server and client - Full Socket.io implementation using Dart Lang

Socketio dart server and client - Full Socket.io implementation using Dart Lang

Getting Started Step 1: Run dart_server.dart Step 2: Android Emulator has proble

Jan 23, 2022

A streaming client for the Komga self-hosted comics/manga/BD server targeting Android/iOS written in Dart/Flutter

A streaming client for the Komga self-hosted comics/manga/BD server targeting Android/iOS written in Dart/Flutter

Klutter A streaming client for the Komga self-hosted comics/manga/BD server targeting Android/iOS written in Dart/Flutter Background This is a project

Dec 7, 2022

a project-m36 websocket client written by flutter/dart

project_m36_websocket_client A Flutter web websocket client for Project-M36. It's also an attempt to bring algebraic datatypes into the Dart land. Pro

Jan 8, 2022

Unsplash Client App written using dart and flutter. (Work in progress)

Unsplash Client App written using dart and flutter. (Work in progress)

Upsplash Unofficial Unsplash client written using dart and flutter Sreenshots Architecture The goal of this pattern is to make it easy to separate pre

Sep 1, 2022

A Dart client for FusionAuth, Flutter compatible

FusionAuth Dart Client If you're integrating FusionAuth with a Dart or Flutter application, this library will speed up your development time. For addi

Dec 14, 2022

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.

Ably Flutter Plugin A Flutter plugin wrapping the ably-cocoa (iOS) and ably-java (Android) client library SDKs for Ably, the platform that powers sync

Dec 13, 2022

A flutter/dart package that allows developer to develop shiSock client for there application.

A flutter/dart package that allows developer to develop shiSock client for there application.

A package which allow developers to develop the shiSock client for the there flutter android app. Using flutter-shiSock developers can develop a chat application very easily. It can also be used in app in which we need real time data flow.

Apr 7, 2022
Owner
Oliver Martinez
@nemoryoliver #FlutterDev + #DartDev + Becoming #Web3Dev
Oliver Martinez
A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. Built after react apollo

Flutter GraphQL Table of Contents Flutter GraphQL Table of Contents About this project Installation Usage GraphQL Provider [Graphql Link and Headers]

Snowball Digital 45 Nov 9, 2022
A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.

GraphQL Flutter ?? Bulletin See the v3 -> v4 Migration Guide if you're still on v3. Maintenance status: Low. Follow #762 for updates on the planned ar

Zino & Co. 3.1k Jan 5, 2023
Vrchat mobile client - VRChat Unofficial Mobile Client For Flutter

VRChatMC VRChatの非公式なAPIを利用したVRChatのモバイルクライアント Flutterで作成されたシンプルなUIが特徴的です iosビルドは

ふぁ 8 Sep 28, 2022
Mysql.dart - MySQL client for Dart written in Dart

Native MySQL client written in Dart for Dart See example directory for examples

null 48 Dec 29, 2022
Cross-platform client for Mentorship System

Mentorship System is an application that allows women in tech to mentor each other, on career development topics, through 1:1 relations for a certain period of time.

AnitaB.org Open Source 62 Dec 12, 2022
A libre, cross-platform client to browse Medium.

XMedium A libre, cross-platform client to browse Medium ?? This is an unofficial app from medium.com. If you are a developer and you want the schemas

Clone Conflict 5 Jan 18, 2022
A libre, cross-platform client to browse Medium.

nedium A libre, cross-platform client to browse Medium ?? This a video showcase. Features ✨ : Browse without an account. Search for posts, users, tags

Clone Conflict 6 Jan 15, 2022
Open source cross-platform client for popular imageboards: 4chan.org and 2ch.hk

iChan (iOS) and Zchan (Android) Open source cross-platform client for popular im

null 50 Dec 31, 2022
An unofficial, platform independent, client for accessing different AI models developed by OpenAI

The OpenAI API can be applied to virtually any task that involves understanding or generating natural language or code. They offer a spectrum of model

Francesco Coppola 14 Dec 30, 2022
Cross-Platform Google Drive client with encryption support.

arthurmorgan A Cross-Platform Google Drive client with encryption support. Features implemented Google OAuth2 Upload Files Download Single Files Uploa

Washiul Alam Sohan 45 Aug 14, 2023