lotus-sdk
Version:
Central repository for several classes of tools for integrating with, and building for, the Lotusia ecosystem
21 lines (20 loc) • 734 B
JavaScript
export const CHRONIK_API_URL = 'https://chronik.lotusia.org';
export const NODE_GEOIP_URL = 'https://api.sefinek.net/api/v2/geoip';
export const RANK_API_URL = 'https://rank.lotusia.org/api/v1';
export const MAX_OP_RETURN_RELAY = 223;
export const MAX_OP_RETURN_DATA = 220;
export const MAX_OP_RETURN_OUTPUTS = 3;
export const RANK_OUTPUT_MIN_VALID_SATS = 1_000_000;
export const RNKC_MIN_FEE_RATE = 10_000_000;
export const RNKC_MIN_DATA_LENGTH = 1;
export const PlatformURL = {
twitter: {
root: 'https://x.com',
profile(profileId) {
return `${this.root}/${profileId}`;
},
post(profileId, postId) {
return `${this.root}/${profileId}/status/${postId}`;
},
},
};