Code Monkey home page Code Monkey logo

zapper.fi-studio's Introduction

TwitterDiscord

All Contributors

Description

Zapper Studio is a platform which enables developers in our community to integrate Web3 applications into Zapper. Integrations can support fetching tokens and contract positions, retrieving a wallet's balances, calculating TVL, and more to come in the future. These adapters enrich the Zapper API, and all of its consumers, including our own mobile and web apps.

Requirements

Ensure the following have been installed on your system:

  • Node v16.14.2 or above
  • pnpm

Getting Started

You can get started building immediately!

OpenAPI docs for studio is available on localhost:5001/docs. Which will give you a rough overview of all exposed endpoints you can test out.

If you wish to know how to integrate your application, please check out Zapper Studio docs for more details.

Installation

$ pnpm install

Running the app

$ pnpm dev

Creating a new app

pnpm studio create-app

Creating a new app group

pnpm studio create-group [app-id]

Generating code templates

pnpm studio create-token-fetcher [app-id]
pnpm studio create-contract-position-fetcher [app-id]
pnpm studio create-balance-fetcher [app-id]

Clearing the cache

Clears the file-system cache that persists app tokens, contract positions and any other app related data. Useful when your are doing modification to an app and it keeps on returning stale data.

pnpm studio clear-cache

Setting custom network providers

If default network providers are too slow or are failing, you can use customize your setup.

pnpm studio set-network-provider

Generating a typescript contract from an ABI

ABIs that are contained within the contracts/abis folder of your application can be leveraged to quickly spin up a typescript library for interacting with a given smart contract.

You can quickly spin up a typescript library for using an ABI by running the following command:

pnpm studio generate:contract-factory [app-id]

Enabling environment specific configuration

Simply copy .env.sample to .env and edit the configuration file.

ENABLED_APPS

Control which app to enable on startup. Particularly useful to keep local build times snappy. When developing your own app, it's recommended to add its identifier (aka: the folder name) and it's dependant apps (also their respective folder name) into this configuration key. See the .env file for further details.

Contributing

Read our Contribution Guide

Contributing new commands

You can generate a new cli command by running the hidden command:

pnpm studio new:command [my-command-name]

Need help ?

Join our community on Discord

License

This repository is under the Business Source License 1.1

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Justin D'Errico

💻 💬 🚧

immasandwich

💻 💬 🚧

William Poulin

💻 💬 🚧

Xavier Drdak

💻 💬 🚧

0xMaxim

📖 💬

YYY

🐛

Jabun

🐛

brightiron

💻

wrap-that-potassium

💻

piersss

💻

Roman Kolpakov

💻

mehdi-loup

💻 💬 🚧

Dylan

💻

Kyle

💻 🐛

Mélen

💻

Papa Sougou Wele

💻 💬 🚧

Alexandre Sobolevski

💻 💬 🚧

Farhaan

💻

tonzgao

💻

leifu

💻

Dominik Prediger

💻 🐛

Kakashi

💻

Andrew Leonard

💻

Michael

💻

liuyepiaoxiang

💻

Apoorv Singal

💻

The Ol' Dirty Bubble

💻

Connor Mulhall

💻

Kosiso

💻

kinesis-labs

💻

marcomariscal

💻

CronosLabsDev

💻

BastionProvider

💻

David Esposto

💻

Weston Nelson

💻

coslendteam

💻

liz

💻

oo-00

💻

takao-aurigami

💻

Sébastien Audet

💻 💬 🚧

BlueBit Finance

💻

Clonescody

💻

Emerald

💻

EvLorne

💻

Kratos

💻

reganwrench

💻

scruffy-dev

💻

Émile Filteau-Tessier

💻 💬 🚧

Sam | Zapper

📖 💬

Single Finance Lab

💻

FiboApe

💻

David

💻 🐛

0xAlunara

💻

Eugene Lepeico

💻

FredCoen

💻

VaporwaveFinance

💻

peezebit

💻

zapper.fi-studio's People

Contributors

clonescody avatar conwayconstar avatar cronoslabsdev avatar dominikpre avatar dylandesrosier avatar emile-filteau avatar fiboape avatar fredcoen avatar immasandwich avatar jforsaken avatar kafitz avatar leonardishere avatar liz-cs avatar marcomariscal avatar meetkosiso avatar melenxyz avatar piersss avatar pwele avatar samiam-0x avatar sebaudet26 avatar singlefinance avatar symphonyfi avatar teddav avatar theonepichael avatar tonzgao avatar wpoulin avatar wrap-that-potassium avatar xdrdak avatar zapper-bot avatar zejabun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.