This file contains 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 axios = require('axios').default; | |
const TC_HOST = 'cardano-testnet-staging.tangocrypto.com'; | |
const TC_APP_ID = 'xxxxxxxxx'; | |
const TC_API_KEY = 'xxxxxxxxx'; | |
const NMKR_auth = 'xxxxxxxxxx'; | |
const NMKR_host = 'studio-api.testnet.nmkr.io'; | |
const NMKR_collection_id = '5d0c151f-03d7-4320-8252-096a3642c080' |
This file contains 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 axios = require('axios').default; | |
const HOST = 'cardano-testnet.tangocrypto.com'; | |
const APP_ID = 'XXXXX'; | |
const API_KEY = 'XXXXX'; | |
axios.defaults.baseURL = `https://${HOST}/${APP_ID}/v1`; | |
axios.defaults.headers.common['x-api-key'] = API_KEY; | |
axios.defaults.headers.post['Content-Type'] = 'application/json'; |
This file contains 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 axios = require('axios').default; | |
const HOST = 'cardano-testnet.tangocrypto.com'; | |
//prod testnet | |
const APP_ID = 'XXXXXXXXX'; | |
const API_KEY = 'XXXXXXXXX'; | |
axios.defaults.baseURL = `https://${HOST}/${APP_ID}/v1`; | |
axios.defaults.headers.common['x-api-key'] = API_KEY; |