View sendmatic.js
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
let Web3 = require("web3"); | |
// Replace value of rpc with https://rpc-mumbai.matic.today for Mumbai | |
let rpc = "https://rpc-mainnet.matic.network"; | |
const provider = new Web3.providers.HttpProvider(rpc); | |
const web3 = new Web3(provider); | |
// Add your private key | |
web3.eth.accounts.wallet.add("pvt-key"); |
View state_sync.txt
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
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137 --sequence 125203 | |
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000 |
View gist:6bdd022f3457934f2a104fd5f4bb45e4
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
"80001":{ | |
"erc20Proxy": "0x0b47076aaa5246411458fcf85494f41bbfdb8470", | |
"erc721Proxy": "0xff7ca10af37178bdd056628ef42fd7f799fac77c", | |
"erc1155Proxy": "0x53d791f18155c211ff8b58671d0f7e9b50e596ad", | |
"zrxToken": "0x5af2b282779c7d4ffc69ca4e6e16676747f5c56b", | |
"etherToken": "0x5b5e11e4818cceba3e82ca9b97cd0ab80be75ad3", | |
"exchange": "0x533dc89624dcc012c7323b41f286bd2df478800b", | |
"erc20BridgeProxy": "0x5638a4b19f121adc4436de3f0e845173b33b594c", | |
"forwarder": "0x6dcf02d3a963f22dbf85c4025b86a834fef16c15", | |
"coordinatorRegistry": "0x6f5b9e0456c4849224c7b59dc15f05c48641c4e3", |
View 0xMumbaiMatic
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
{ | |
"erc20Proxy": "0x0b47076aaa5246411458fcf85494f41bbfdb8470", | |
"erc721Proxy": "0xff7ca10af37178bdd056628ef42fd7f799fac77c", | |
"erc1155Proxy": "0x53d791f18155c211ff8b58671d0f7e9b50e596ad", | |
"zrxToken": "0x5af2b282779c7d4ffc69ca4e6e16676747f5c56b", | |
"etherToken": "0x5b5e11e4818cceba3e82ca9b97cd0ab80be75ad3", | |
"exchange": "0x533dc89624dcc012c7323b41f286bd2df478800b", | |
"erc20BridgeProxy": "0x5638a4b19f121adc4436de3f0e845173b33b594c", | |
"forwarder": "0x6dcf02d3a963f22dbf85c4025b86a834fef16c15", | |
"coordinatorRegistry": "0x6f5b9e0456c4849224c7b59dc15f05c48641c4e3", |
View plasma_mainnet.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
{ | |
"0xa45b966996374E9e65ab991C6FE4Bfce3a56DDe8": { | |
"child_token": "0x8cc8538d60901d19692F5ba22684732Bc28F54A3" | |
}, | |
"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0": { | |
"child_token": "0x0000000000000000000000000000000000001010" | |
}, | |
"0x3db715989dA05C1D17441683B5b41d4510512722": { | |
"child_token": "0x5E1DDF2e5a0eCDD923692d4b4429d8603825A8C6" | |
}, |
View stake.bash
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
heimdallcli tx staking stake-update --block-number 12535185 --id 125 --log-index 352 --nonce 279 --staked-amount 2667543684324388533318472 --tx-hash 0x277c57b7763addbaff82308ff4c6eeaa9eab5ab6c49c2338b41e4f73c6d714a7 --chain-id heimdall-137 --sequence 126121 | |
heimdallcli tx staking stake-update --block-number 12535229 --id 128 --log-index 55 --nonce 260 --staked-amount 5328785075270129389879005 --tx-hash 0xdf0adfaef21ddca1fc69171495960220c6a2cf98adabd6efdf9b0c497f35935b --chain-id heimdall-137 --sequence 126122 | |
heimdallcli tx staking stake-update --block-number 12535238 --id 15 --log-index 161 --nonce 1211 --staked-amount 28828018417655351543522310 --tx-hash 0x3332a7eadecb190c36c9c069108524dfb81bf78d5ac07362515ba268de7a5c4c --chain-id heimdall-137 --sequence 126123 | |
heimdallcli tx staking stake-update --block-number 12535239 --id 72 --log-index 360 --nonce 416 --staked-amount 117167149120719678236996091 --tx-hash 0x3dfcce72a9dcbd402b36c7e7e10f02e5209ce75605a9c941dc8defc9e394fbba --chain-id heimdall-137 --seq |
View state_sync.bash
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
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137 --sequence 125209 | |
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000 |
View state_sync.txt
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
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137 | |
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000000000000000000000 |
View gist:e3f231cf553d364174a3c1c3d55dfa4f
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
// File: @openzeppelin/contracts/GSN/Context.sol | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.6.0; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available |
View gist:38585f1f90b09329f4b1771aa4bbd658
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
let Biconomy = require("@biconomy/mexa"); | |
let abi = require('./testabi.json') | |
let Web3 = require("web3") | |
const biconomy = new Biconomy(window.ethereum,{apiKey: "A8U9q3qVt.66db9879-a33c-4551-98b0-7016616eb1ab"}); | |
web3 = new Web3(biconomy); | |
biconomy.onEvent(biconomy.READY, async () => { | |
console.log("successs") |
NewerOlder