๐ŸŸข
Filecoin Green Documentation
  • ๐Ÿ“—Filecoin Green Documentation
  • โ™ป๏ธStorage Providers Green Guidance Documentation
    • ๐ŸŒIntroduction
    • ๐ŸŒFilecoin Green
      • ๐Ÿ”ฑFilecoin Green Pledge
    • ๐Ÿ“‘Storage Providerโ€™s Tiered Sustainability Claims
    • ๐Ÿ“‹Storage Providers Sustainability Criteria
      • GHG Emissions Accounting
        • How Storage Providers should Calculate Emissions
      • Renewable Energy Procurement
        • How Storage Providers should Procure Renewable Energy
          • Renewable Electricity Sourcing Methods
            • Spotlight: DCENT
          • Additional methods for procuring renewable energy
            • Spotlight: Zero Labs
          • Credible Claims Requirements
          • Energy Sources and Technologies
      • Additional Reporting Criteria and Reporting Cadence
        • Water Use
        • Hardware Waste
        • Reporting Periods and Cadence
    • ๐Ÿ”†Conclusion
    • ๐Ÿ—ƒ๏ธAdditional Resources
      • Annex 1: Carbon Accounting Methodologies Hierarchy
      • Annex 2: Details on Storage Providerโ€™s Tiered Sustainability Claims
      • Annex 3: Filecoin Green Reporting Portal
      • Annex 4: Treatment of Carbon Credits
  • โš™๏ธFilecoin Green API Docs
    • ๐Ÿ”งList of APIs
      • โšกEnergy Consumption API
      • ๐ŸŒฟGreen Scores API
      • ๐Ÿ“ˆRenewable Energy Certificates API
      • โ†”๏ธFilecoin Miner ID <-> Peer ID relation API
  • ๐Ÿ–ฅ๏ธFilecoin Green UI Tools
    • ๐Ÿ”CID.place
    • ๐Ÿ“ƒREC Browser
    • ๐Ÿ“ˆMetered Energy Consumption
    • ๐Ÿ“ฉCSV Export utility
    • ๐Ÿ‘พCO2.Storage
  • ๐Ÿ“šAdditional Resources
  • ๐Ÿ‘พCO2.Storage Docs
    • ๐ŸงAbout
    • โš™๏ธData Model
    • โš’๏ธUI: Getting Started
    • ๐Ÿ—๏ธSetting Up the CLI
    • โœ๏ธTemplate Author's Guide
    • ๐Ÿ’ฅExamples
    • ๐ŸŒฑBuild a Web UI
    • ๐Ÿ–ฅ๏ธUI Functionality
    • โŒจ๏ธAPI Functionality
    • ๐ŸŽ†Configuring IPFS Nodes
    • โ€ผ๏ธFAQ
    • ๐Ÿ—บ๏ธDevelopment Roadmap
    • ๐Ÿ—ปDecarbonize Your Travel
    • ๐Ÿ’กEnergy Validation Process (EVP) Schema
Powered by GitBook
On this page
  • How do I get template fields to display in a given order?
  • How does CO2.Storage deal with large files?
  • Authentication Error
  • Troubleshooting
  1. CO2.Storage Docs

FAQ

How do I get template fields to display in a given order?

The default is to define your template schema as an unordered object, using curly brackets { :

{
  "fieldA": {
    "type": "string",
    "required": true
  },
  "fieldB": {
    "type": "string",
    "required": true
  }
  ...
}

In the situation above, fields are not ordered. If you want fields to have an order, use an array instead of an object:

[
  { 
    "field1": {
      "type": "string",
      "required": true
    }
  },
  { 
    "field2": {
      "type": "string",
      "required": true
    }
  }
  ...
]

In this case, the fields are ordered as an array: [ field1, field2, ..]

You can also implement arrays of arrays, if you prefer this style:

[
  [ 
    "field1", {
      "type": "string",
      "required": true
    }
  ],
  ...
]

How does CO2.Storage deal with large files?

For working with large files using the UI, we recommend using the Chrome, Opera or Edge browsers. These browsers support window.showSaveFilePicker() which allows file streams.

Authentication Error

code: 500,
message: 'Error whilst requesting "privateKeyToAccount" method. InvalidPrivateKeyError: Invalid Private Key, Not a valid string or uint8Array'

Troubleshooting

PreviousConfiguring IPFS NodesNextDevelopment Roadmap

Last updated 1 year ago

See the for more info on how to write templates.

As of , primitives of the documents and images types (see ) are uploaded as file streams. Slices of these steams are uploaded to IPFS and assembled as IPLD DAGs.

Make sure your PK starts with 0x as described .

This project should be considered an alpha release. The team is actively working on this project and welcomes contributions from the community. Should any problems arise, please reach out by emailing .

๐Ÿ‘พ
โ€ผ๏ธ
Template Author's Guide
v1.2.28
Template Author's Guide
Filecoin Green
green@filecoin.org
here