diff --git a/.gitignore b/.gitignore index 40b878d..12ac647 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules/ \ No newline at end of file +node_modules/ +.DS_Store \ No newline at end of file diff --git a/tools/PrecompiledAbis.html b/tools/PrecompiledAbis.html index d44ef11..e5ffdd4 100644 --- a/tools/PrecompiledAbis.html +++ b/tools/PrecompiledAbis.html @@ -58,7 +58,8 @@
Simple html page to get bridge methods selectors and eve
- - + +
@@ -136,11 +136,11 @@
Simple html page to interact with the Rootstock (RSK) Bl const bridgeAddress = '0x0000000000000000000000000000000001000006'; const testnetRskUrl = 'https://public-node.testnet.rsk.co/'; const mainnetRskUrl = 'https://public-node.rsk.co/'; - let currentUrl = testnetRskUrl; + let currentUrl = mainnetRskUrl; let bridge; let web3; let bridgeAbi; - url.innerText = testnetRskUrl; + url.innerText = mainnetRskUrl; bridgeAddressElement.innerText = bridgeAddress; const bytes32FormatExample = '0x0000...1111'; const txHashFormatExample = '1111...1111'; @@ -382,7 +382,7 @@
Simple html page to interact with the Rootstock (RSK) Bl const setup = async () => { bridgeAbi = await getBridgeAbi(); - web3 = new Web3(testnetRskUrl); + web3 = new Web3(currentUrl); bridge = new web3.eth.Contract(bridgeAbi, bridgeAddress); setupBridgeInteractionElements(bridgeAbi); window.web3 = web3;