@daohaus/data-fetch-utils v0.5.4
@daohaus/data-fetch-utils
data-fetch-utils provides a subset of utilities primarily utilized within our data libraries. These are key functions required for making API calls to fetch data from a range of sources such as our subgraphs, IPFS, or any other data points we access. This library is not usually used on it's own, but in the context of @daohaus/moloch-v3-data and @daohaus/profile-data.
View on NPM
Usage
Installation
yarn add @daohaus/data-fetch-utils
Examples
How to post to IPFS w/ Pinata
import { pinataPostJSON } from '@daohaus/keychain-utils';
const res = await pinataPostJSON({
creds: {
pinata_api_key,
pinata_api_secret,
},
jsonString: JSON.stringify({ this: 'is fun' }),
});
Building
Run nx data-fetch-utils:build
to build the library.
18 days ago
2 months ago
5 months ago
6 months ago
7 months ago
7 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago