https://github.com/blossomlabs/fleek-abi-fetcher
https://github.com/blossomlabs/fleek-abi-fetcher
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blossomlabs/fleek-abi-fetcher
- Owner: BlossomLabs
- License: mit
- Created: 2024-07-10T22:20:01.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-07-12T07:52:09.000Z (10 months ago)
- Last Synced: 2024-07-12T09:13:21.108Z (10 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fleek ABI Fetcher
This function fetches the ABI for a given contract address on any given chain supported by Sourcify and returns it in JSON format.
You can use the deployed function in:
```
https://abi.functions.on-fleek.app/v0///?apiKey=
```Example:
```
https://abi.functions.on-fleek.app/v0/1/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/
```## Build and deploy
```sh
bun i
bun run build # create dist/main.js
bun fleek # login to fleek if needed
bun create-func myfunc # create function
bun deploy-func myfunc # deploy function
```