web3.db-fileconnector
Version:
GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be
27 lines (22 loc) • 959 B
JavaScript
import { config } from "dotenv";
// Load environment variables from .env file
config();
// Export configuration object
// with default values
// for ceramicUrl, instance, and apiKey
// if not provided in .env file
// or environment variables
// This is a simple configuration file for a Node.js application
// that uses the dotenv package to load environment variables
// from a .env file. It exports an object with three properties:
// MCP Server URL: The URL of the MCP server.
// API Key: The API key for accessing the MCP server.
// Instance: The URL of the instance.
// API Key: The API key for accessing the Ceramic network.
// MCP Server URL: The URL of the MCP server.
// ceramicUrl: The URL of the Ceramic network.
module.exports = {
ceramicUrl: process.env.CERAMIC_URL || "mem",
instance: process.env.INSTANCE || "https://ceramic-clay.3boxlabs.com",
apiKey: process.env.API_KEY || "ceramic-clay.3boxlabs.com",
};