Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating explorer address to: https://explorer.avn.network #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions wallet/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ var networkConfigs = {
// Explorer links
var blockExplorer = {
'address': function (address) {
return 'https://explorer-us.avn.network/address/' + address;
return 'https://explorer.avn.network/address/' + address;
},
'tx': function (tx) {
return 'https://explorer-us.avn.network/tx/' + tx;
return 'https://explorer.avn.network/tx/' + tx;
}
}

Expand Down Expand Up @@ -352,7 +352,7 @@ function estimateFee() {
// Get address balance
function addressBalance(address) {
return Promise.resolve($.ajax({
'url': 'https://explorer-us.avn.network/ext/getbalance/' + address,
'url': 'https://explorer.avn.network/ext/getbalance/' + address,
})).then(function (data) {
return data
})
Expand All @@ -361,7 +361,7 @@ function addressBalance(address) {
// Get address history
function addressHistory(address) {
return Promise.resolve($.ajax({
'url': 'https://explorer-us.avn.network/ext/getaddress/' + address,
'url': 'https://explorer.avn.network/ext/getaddress/' + address,
})).then(function (data) {
return data
})
Expand All @@ -370,7 +370,7 @@ function addressHistory(address) {
// Get TX info
function txInfo(hash) {
return Promise.resolve($.ajax({
'url': 'https://explorer-us.avn.network/ext/gettx/' + hash,
'url': 'https://explorer.avn.network/ext/gettx/' + hash,
})).then(function (data) {
return data
})
Expand Down