Skip to content

Commit

Permalink
Merge pull request #6 from decentldotland/dev
Browse files Browse the repository at this point in the history
feat: v0.0.5
  • Loading branch information
charmful0x authored Aug 1, 2023
2 parents 051cbb7 + 427c645 commit 98b2376
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ans-resolver",
"version": "0.0.4",
"version": "0.0.5",
"description": "HTTP resolver for ANS domains",
"main": "./src/api.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const ANS_CONTRACT_ADDRESS = `EcSNZ9aaZkK7OngLqunLvDPp0CNc2JBVqwBRrFewZnU`;
export const ANS_CONTRACT_ADDRESS = `rExhMDVqLfSTdSCwG95_VOe2a3MuKGA0ukGPO0ra9GQ`;
2 changes: 1 addition & 1 deletion src/utils/readContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ANS_CONTRACT_ADDRESS } from "./constants.js";
export async function readContract() {
try {
const state = (
await axios.get(`https://api.exm.dev/read/${ANS_CONTRACT_ADDRESS}`)
await axios.get(`https://api.mem.tech/api/state/${ANS_CONTRACT_ADDRESS}`)
)?.data;
return state?.balances;
} catch (error) {
Expand Down

0 comments on commit 98b2376

Please sign in to comment.