Pin Tezos Tokens Tool
Learn how to configure the Pin Tezos Tokens for use with Filebase.
Last updated
Learn how to configure the Pin Tezos Tokens for use with Filebase.
Last updated
Pin tokens is a Python script written for pinning Tezos tokens to IPFS that can be configured for use with Filebase.
Read below to learn how to use Pin Tokens with Filebase.
git clone https://github.com/loackme/pin_tokens
This token can be generated by navigating to the Filebase Access Keys page, then viewing the IPFS Pinning Service API Endpoint. Click the drop-down menu for 'Choose Bucket to Generate Token', then choose the IPFS Filebase Bucket you want to use.
Then copy the generated Secret Access Token:
pin_tokens
directory. Install the required dependencies:cd pin_tokens
python3 -m pip install -r requirements.txt
Replace API_KEY with the API key from Step 2, and WALLET_ADDRESS with your crypto wallet address:
python3 pin_tokens.py --wallet WALLET_ADDRESS --role creator --KT versum --service_type filebase --api_key API_KEY