Skip to content

Commit 2ade358

Browse files
committed
Update to new domain
1 parent 6f595a0 commit 2ade358

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Bitweb-Chrome-Wallet
2-
Light Bitweb Web wallet in the form of a chrome extension which utilises bitcoin.js and a simple REST API https://bitwebapi.scalaris.info
2+
Light Bitweb Web wallet in the form of a chrome extension which utilises bitcoin.js and a simple REST API https://api.bitwebcore.net
33

44

55
### Installation

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<body>
1818
<div class="text-center container">
1919
<p style="padding-top: 20px;">
20-
<a href="https://bitwebcore.org" target="_blank">
20+
<a href="https://bitwebcore.net" target="_blank">
2121
<img src="img/overlay.png" style="width: 64px; height: 64px; position: center;">
2222
</a>
2323
</p>

js/chaininfo.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ window.onload = function (){
1010

1111
// Set history page to open to explorer according to mainnet or testnet & set ticker according to mainnet or testnet
1212
if (apiget == "mainnet" || apiget == null) {
13-
api = "https://bitwebapi.scalaris.info"
13+
api = "https://api.bitwebcore.net"
1414
prefix = "BTE"
15-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
15+
href = "https://explorer.bitwebcore.net/address/" + getaddress
1616
$("#history").attr("href", href)
1717
}
1818
else if (apiget == "testnet"){
1919
api = "https://api-testnet.bitwebcore.org"
2020
prefix = "TBTE"
21-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
21+
href = "https://explorer.bitwebcore.net/address/" + getaddress
2222
$("#history").attr("href", href)
2323
}
2424

js/import.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ window.onload = function() {
1111

1212
// Sets History Tab to open to explorer
1313
if (apiget == "mainnet" || apiget == null) {
14-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
14+
href = "https://explorer.bitwebcore.net/address/" + getaddress
1515
}
1616
else if (apiget == "testnet") {
17-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
17+
href = "https://explorer.bitwebcore.net/address/" + getaddress
1818
}
1919
$("#history").attr("href", href)
2020

@@ -23,7 +23,7 @@ window.onload = function() {
2323

2424
function getImportAPI() {
2525
// Set Network config according to Endpoint selection
26-
if (localStorage.getItem("api") == "https://bitwebapi.scalaris.info" || localStorage.getItem("api") == null){
26+
if (localStorage.getItem("api") == "https://api.bitwebcore.net" || localStorage.getItem("api") == null){
2727
netconfig = {
2828
'network': {
2929
'messagePrefix': '\x19Bitweb Signed Message:\n',
@@ -95,10 +95,10 @@ $("#wifImport").click(function() {
9595

9696
// Sets History Tab to open to explorer
9797
if (apiget == "mainnet") {
98-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
98+
href = "https://explorer.bitwebcore.net/address/" + getaddress
9999
}
100100
else if (apiget == "testnet") {
101-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
101+
href = "https://explorer.bitwebcore.net/address/" + getaddress
102102
}
103103
$("#history").attr("href", href)
104104
})

js/main.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ window.onload = function() {
1616

1717
// Sets History Tab to open to explorer
1818
if (apiget == "mainnet" || apiget == null) {
19-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
19+
href = "https://explorer.bitwebcore.net/address/" + getaddress
2020
}
2121
else if (apiget == "testnet") {
22-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
22+
href = "https://explorer.bitwebcore.net/address/" + getaddress
2323
}
2424
$("#history").attr("href", href)
2525

@@ -29,7 +29,7 @@ window.onload = function() {
2929

3030
function getMainAPI() {
3131
// Set Network config according to Endpoint selection
32-
if (localStorage.getItem("api") == "https://bitwebapi.scalaris.info" || localStorage.getItem("api") == null){
32+
if (localStorage.getItem("api") == "https://api.bitwebcore.net" || localStorage.getItem("api") == null){
3333
netconfig = {
3434
'network': {
3535
'messagePrefix': '\x19Bitweb Signed Message:\n',
@@ -95,10 +95,10 @@ $("#generateAddress").click(function() {
9595

9696
// Sets History Tab to open to explorer
9797
if (apiget == "mainnet" || apiget == null) {
98-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
98+
href = "https://explorer.bitwebcore.net/address/" + getaddress
9999
}
100100
else if (apiget == "testnet") {
101-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
101+
href = "https://explorer.bitwebcore.net/address/" + getaddress
102102
}
103103
$("#history").attr("href", href)
104104
})

js/send.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ window.onload = function() {
2121

2222
// Set history page to open to explorer & sets placeholder to testnet or mainnet prefix
2323
if (apiget == "mainnet" || apiget == null) {
24-
api = "https://bitwebapi.scalaris.info"
24+
api = "https://api.bitwebcore.net"
2525
inputPlaceholder.attr("placeholder", "web1q...")
26-
href = "https://bitwebexplorer.scalaris.info/address/" + address
26+
href = "https://explorer.bitwebcore.net/address/" + address
2727
}
2828
else if (apiget == "testnet"){
2929
api = "https://api-testnet.bitwebcore.org"
3030
inputPlaceholder.attr("placeholder", "tugar1q...")
31-
href = "https://bitwebexplorer.scalaris.info/address/" + address
31+
href = "https://explorer.bitwebcore.net/address/" + address
3232
}
3333
$("#history").attr("href", href)
3434

@@ -38,7 +38,7 @@ window.onload = function() {
3838
var errororsuccess
3939
function getSendAPI() {
4040
// Set Network config according to Endpoint selection
41-
if (localStorage.getItem("api") == "https://bitwebapi.scalaris.info" || localStorage.getItem("api") == null){
41+
if (localStorage.getItem("api") == "https://api.bitwebcore.net" || localStorage.getItem("api") == null){
4242
netconfig = {
4343
'network': {
4444
'messagePrefix': '\x19Bitweb Signed Message:\n',

js/settings.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//api = "https://bitwebapi.scalaris.info"
1+
//api = "https://api.bitwebcore.net"
22
//localStorage.setItem("api", api)
33
var href
44
var selectedEndpoint = document.getElementById("endpointSelect")
@@ -14,10 +14,10 @@ window.onload = function() {
1414

1515
// Sets History Tab to open to explorer according to testnet or mainnet
1616
if (apiget == "mainnet" || apiget == null) {
17-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
17+
href = "https://explorer.bitwebcore.net/address/" + getaddress
1818
}
1919
else if (apiget == "testnet"){
20-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
20+
href = "https://explorer.bitwebcore.net/address/" + getaddress
2121
}
2222
$("#history").attr("href", href)
2323

@@ -37,7 +37,7 @@ selectedEndpoint.onchange = function () {
3737
document.location.reload()
3838
}
3939

40-
var mainnet = "https://bitwebapi.scalaris.info"
40+
var mainnet = "https://api.bitwebcore.net"
4141
var testnet = "https://api-testnet.bitwebcore.org"
4242
// Set the api in local storage
4343
function setAPI() {

js/wallet.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ window.onload = function (){
3131

3232
// Set history page to open to explorer, sets placeholder to testnet or mainnet prefix & sets ticker according to mainnet or testnet
3333
if (apiget == "mainnet" || apiget == null) {
34-
api = "https://bitwebapi.scalaris.info"
34+
api = "https://api.bitwebcore.net"
3535
prefix = "BTE"
3636
inputPlaceholder.attr("placeholder", "web1q...")
37-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
37+
href = "https://explorer.bitwebcore.net/address/" + getaddress
3838
$("#history").attr("href", href)
3939
}
4040
else if (apiget == "testnet"){
4141
api = "https://api-testnet.bitwebcore.org"
4242
prefix = "TBTE"
4343
inputPlaceholder.attr("placeholder", "tugar1q...")
44-
href = "https://bitwebexplorer.scalaris.info/address/" + getaddress
44+
href = "https://explorer.bitwebcore.net/address/" + getaddress
4545
$("#history").attr("href", href)
4646
}
4747

0 commit comments

Comments
 (0)