This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | async function uploadJsonToPinata(jsonData, pinataApiKey) { | |
| const axios = require("axios"); | |
| const FormData = require("form-data"); | |
| const url = "https://api.pinata.cloud/pinning/pinJSONToIPFS"; | |
| try { | |
| const data = JSON.stringify(jsonData); | |
| const response = await axios.post(url, data, { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | __zoxide_zi () { | |
| \builtin local result | |
| result="$(\command zoxide query --interactive -- "$@")" && __zoxide_cd "${result}" | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | keycode range supported by kernel: 1 - 255 | |
| max number of actions bindable to a key: 256 | |
| number of keymaps in actual use: 7 | |
| of which 0 dynamically allocated | |
| ranges of action codes supported by kernel: | |
| number of function keys supported by kernel: 256 | |
| max nr of compose definitions: 256 | |
| nr of compose definitions in actual use: 68 | |
| Symbols recognized by dumpkeys: | |
| (numeric value, symbol) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Run `npm install form-data node-fetch fs dotenv` | |
| // | |
| // Create a separate .env file with the following variables completed | |
| // PINATA_JWT= | |
| // CROSSMINT_PROJECT_ID= | |
| // CROSSMING_CLIENT_SECRET= | |
| // | |
| // Read more on how this works at | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "editor.accessibilitySupport": "off", | |
| "terminal.integrated.fontFamily": "BerkeleyMono Nerd Font", | |
| "workbench.colorTheme": "Gruvbox Material Dark", | |
| "editor.fontFamily": "BerkeleyMono Nerd Font, Menlo, Monaco, 'Courier New', monospace", | |
| "gruvboxMaterial.darkContrast": "hard", | |
| "editor.inlineSuggest.enabled": true, | |
| "editor.fontSize": 13, | |
| "terminal.external.osxExec": "Alacritty.app", | |
| "terminal.integrated.fontSize": 13, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* Main background styles */ | |
| body { | |
| /* background: pink; */ | |
| /* color: purple; */ | |
| background-color: #2e3440 !important; | |
| } | |
| .css-1dbjc4n | |
| .r-1habvwh{ | |
| background-color: #2e3440 !important; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | I am attesting that this GitHub handle stevedsimkins is linked to the Tezos account tz1RafQ9ipNyo9aMzTt2tS2epJutADjqiyXt for tzprofiles | |
| sig:edsigu5ci91Ty6hKGidd1kU5f33YWerPy4pxzqK2jAZtD2erNYDYecPWdKSLxgqewp8zsp3JrVMGMWMbCxVj5jfR65FsjTwFuBd | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const { Readable } = require('stream'); | |
| const FormData = require('form-data') | |
| const axios = require('axios'); | |
| const JWT = 'Bearer PASTE_YOUR_PINATA_JWT' | |
| const pinStringToIPFS = async (string) => { | |
| try { | |
| const buffer = Buffer.from(string, 'utf8') | |
| const stream = Readable.from(buffer) | |
| const data = new FormData() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const { Readable } = require("stream"); | |
| const buffer = await getWnft(args, { size: IMAGE_SIZE }); // returns Buffer | |
| const fileData = Readable.from(buffer) | |
| // we are calling the function below with `fileData: buffer` | |
| static async uploadFileToIPFS({ fileData, metadata = {} }) { | |
| const pinataOptions = { | |
| cidVersion: PINATA_CID_VERSION, | |
| wrapWithDirectory: false, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import axios from 'axios' | |
| import FormData from 'form-data' | |
| import fs from 'fs' | |
| const submarineFile = async () => { | |
| const data = new FormData() | |
| data.append(`files`, fs.createReadStream('./path/to/file.png')); | |
| data.append('pinToIPFS', 'false'); |