https://github.com/apachecn-archive/studio

https://github.com/apachecn-archive/studio

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: apachecn-archive
  • License: other
  • Language: TypeScript
  • Default Branch: main
  • Size: 1.74 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

Zapper Studio

Twitter Discord

All Contributors <!-- ALL-CONTRIBUTORS-BADGE:END -->

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

bash $ pnpm install

Running the app

bash $ pnpm dev

Creating a new app

bash pnpm studio create-app

Generating code template

bash pnpm studio codegen-app [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.

bash pnpm studio clear-cache

Setting custom network providers

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

bash 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:

bash 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


Mlen


Papa Sougou Wele

Owner

  • Name: ApacheCN 归档
  • Login: apachecn-archive
  • Kind: organization
  • Email: wizard.z@qq.com

防止重要项目丢失而设立的归档

GitHub Events

Total
Last Year

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • pnpm/action-setup v2.0.1 composite
.github/workflows/release-please.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • google-github-actions/release-please-action v3 composite
  • gregziegan/fetch-latest-release v2.0.0 composite
  • peter-evans/create-pull-request v3 composite
  • pnpm/action-setup v2.0.1 composite
.github/workflows/semantic-pr.yml actions
  • amannn/action-semantic-pull-request v4 composite
.github/workflows/trigger-studio-docs-deploy.yml actions
.github/workflows/upload-app-assets.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • google-github-actions/upload-cloud-storage main composite
package.json npm
  • @ethersproject/abi ^5.5.0 development
  • @ethersproject/bytes ^5.5.0 development
  • @ethersproject/contracts ^5.5.0 development
  • @ethersproject/providers ^5.5.0 development
  • @nestjs/cli 8.2.4 development
  • @nestjs/common 8.4.2 development
  • @nestjs/config ^1.1.0 development
  • @nestjs/core 8.4.2 development
  • @nestjs/swagger ^5.2.1 development
  • @oclif/core ^1 development
  • @oclif/plugin-help ^5 development
  • @oclif/plugin-plugins ^2.0.1 development
  • @typechain/ethers-v5 ^10.0.0 development
  • @types/cache-manager ^3.4.3 development
  • @types/dedent ^0.7.0 development
  • @types/express ^4.17.13 development
  • @types/fs-extra ^9.0.13 development
  • @types/inquirer ^8.2.0 development
  • @types/jest ^27.4.1 development
  • @types/lodash ^4.14.180 development
  • @types/node ^16.0.0 development
  • @typescript-eslint/eslint-plugin ^5.16.0 development
  • @typescript-eslint/parser ^5.16.0 development
  • axios ^0.26.1 development
  • bignumber.js ^9.0.2 development
  • cache-manager ^3.6.0 development
  • chalk 4 development
  • class-transformer ^0.5.1 development
  • class-validator ^0.13.2 development
  • conventional-changelog-conventionalcommits ^4.6.3 development
  • copyfiles ^2.4.1 development
  • dedent ^0.7.0 development
  • dotenv ^16.0.0 development
  • eslint ^8.11.0 development
  • eslint-plugin-import ^2.25.4 development
  • eslint-plugin-prettier ^4.0.0 development
  • eslint-plugin-unused-imports ^2.0.0 development
  • ethers ^5.5.1 development
  • graphql ^15.5.1 development
  • graphql-request ^3.7.0 development
  • jest ^27.5.1 development
  • moment ^2.29.2 development
  • nodemon ^2.0.15 development
  • prettier ^2.6.0 development
  • qs ^6.10.3 development
  • recast ^0.20.5 development
  • reflect-metadata ^0.1.13 development
  • rxjs ^7.5.5 development
  • source-map-support ^0.5.20 development
  • swagger-ui-express ^4.3.0 development
  • ts-generator ^0.1.1 development
  • ts-jest ^27.1.4 development
  • ts-loader ^9.2.3 development
  • ts-node ^10.7.0 development
  • tsc-alias ^1.6.5 development
  • tsconfig-paths ^3.14.1 development
  • type-fest ^2.12.1 development
  • typechain ^8.0.0 development
  • typescript ^4.6.2 development
  • web3 ^1.5.1 development
  • webpack ^5.0.0 development
  • @golevelup/nestjs-modules ^0.5.0
  • @nestjs/platform-express 8.4.2
  • bitcoin-address-validation ^2.2.1
  • esbuild ^0.14.27
  • esbuild-runner ^2.2.1
  • file-system-cache ^1.0.5
  • fs-extra ^10.0.1
  • inquirer ^8.2.2
  • lodash ^4.17.21
  • rimraf ^3.0.2
pnpm-lock.yaml npm
  • 1120 dependencies