mirror of
https://github.com/anatolykopyl/vk-nft-feed.git
synced 2026-03-26 12:54:33 +00:00
16 lines
353 B
JavaScript
16 lines
353 B
JavaScript
import dotenv from 'dotenv';
|
|
dotenv.config();
|
|
|
|
import Rarepress from 'rarepress';
|
|
import getImages from './getImages.js';
|
|
|
|
(async () => {
|
|
const rarepress = new Rarepress();
|
|
// await rarepress.init({ network: 'mainnet' });
|
|
|
|
(await getImages(-1)).forEach((image) => {
|
|
console.log(image);
|
|
// const cid = await rarepress.fs.add()
|
|
})
|
|
})();
|