Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alejandro Cavallero
    @alepc253
    @chrisli30 yes
    Chris Li
    @chrisli30
    awesome, thanks!
    Let me know when it's Okay to send test Bitcoin to federation. By the way, where do I look up Federation address?
    Alejandro Cavallero
    @alepc253
    @chrisli30 you can get it from MyCrypto -> Contracts -> Select Existing Contracts -> "Bridge" -> "getFederationAddress" (selecting previously RSK Testnet as network)
    Chris Li
    @chrisli30
    okay trying it now. It's a RPC call right? Do you know details of the call(url, request body etc.) so I can use a more general way to get that address?
    Maybe a curl request can do it?
    Alejandro Cavallero
    @alepc253
    it's a call to a contract
    Chris Li
    @chrisli30
    oh the contract on RSK testnet?
    Alejandro Cavallero
    @alepc253
    you can get the ABI from there
    yes, it's a precompiled contract
    address 0x0000000000000000000000000000000001000006
    ABI:
    [ { "name": "getFederationAddress", "type": "function", "constant": true, "inputs": [], "outputs": [ { "name": "", "type": "string" } ] } ] Access
    Chris Li
    @chrisli30
    awesome, trying it now
    Alejandro Cavallero
    @alepc253
    :thumbsup:
    Alejandro Cavallero
    @alepc253
    @chrisli30 done
    Chris Li
    @chrisli30
    Nice, I've got this address 2N1N5mdHWmRUfv49f7GnUeFfuyLcBQK7hj2 from RSK testnet. Quick question, how often does this address change?
    Alejandro Cavallero
    @alepc253
    For mainnet, it changed 3 times since launch
    Chris Li
    @chrisli30
    Got it, so not frequently.
    Alejandro Cavallero
    @alepc253
    you shouldn't take that address as fixed
    Chris Li
    @chrisli30
    Okay, I've got this question. What happens the federation address changed during my transfer to the old address? I will lose that Bitcoin, right?
    I know it's not frequent but there's a possibility that it changes while I'm sending my Bitcoin
    And when I type in private key of my address to this site https://utils.rsk.co/, it says "Non-base58 character". What's the right way to get RSK testnet address?
    That's the private key of mvZzhv7pyovGTxdxQ1kvh58hpSwykVy7Lp starting with "p2pkh:"
    Alejandro Cavallero
    @alepc253
    when the federation is changing, there is a grace period
    you don't lose your BTC
    but if you send to an old address after that period, then your funds are lost
    Chris Li
    @chrisli30
    oh nice
    When I type in private key of Bitcoin address to https://utils.rsk.co/, it says "Non-base58 character". What's the right way to get RSK testnet address?
    I can send you the private key
    Alejandro Cavallero
    @alepc253
    yes, by dm
    Quote-a-Little
    @QuoteaLittle_twitter
    can i get a test net address whitelisted please: moMEVeqARNbyNN1FTFoJxkSW3p52WDpxi8
    i'd like to test the 2 way peg
    Alejandro Cavallero
    @alepc253
    @QuoteaLittle_twitter it's done
    Leonel Corso
    @leonelcorso_gitlab

    Hi
    We are trying to run an rsk node in AWS behind a NAT. The node starts and the IP of the NAT gateway is detected but sync does not start. We see a lot of these:

    2019-09-04-16:31:23.648 DEBUG [messageProcess] Queued Messages: 0

    Ports 5050 and 50505 are open for both TCP and UDP.

    Have you considered this scenario and is there something missing I should look into?
    Leonel Corso
    @leonelcorso_gitlab
    I also tried to run the docker version on my mac that is behind NAT and the node is unable to sync
    sebastianleoperez
    @sebastianleoperez
    Hi @leonelcorso_gitlab ! I'm working with the team to help you
    Leonel Corso
    @leonelcorso_gitlab
    Great, thanks. From my end I still have to test this scenario by opening the port in our firewall and mapping the port.
    sebastianleoperez
    @sebastianleoperez
    @leonelcorso_gitlab it seems you have an issue with peer discovery
    You are unable to find peers, check this by calling net_peerList() method by curl
    Leonel Corso
    @leonelcorso_gitlab
    Like this?
    curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"net_peerList", "params": {}}' http://127.0.0.1:4444
    sebastianleoperez
    @sebastianleoperez
    Yes, that's the problem. I can provide you a list of peers that you can add to your config. Testnet ?
    Leonel Corso
    @leonelcorso_gitlab
    Yes, testnet
    sebastianleoperez
    @sebastianleoperez
    Add this peers in your config
    peer {
    active = [
    {
    ip = 54.171.196.137
    port = 50505
    nodeId = 17182cff7a494ba689d096cb9d8bb0b4164491d45086458c1defabc535038e3d9c48cad0957aa877ae010e2a07b970205924b41149a825a35f07c87959b17437
    },
    {
    ip = 54.71.127.159
    port = 50505
    nodeId = 472b333f53abd4e2fd1a1b90c7ea9a42b9f61b2642006481eb40df37e42565143850f12b018d08f260e047d6b102ffe753a2e77ab5c40c1f044dda0260ad6515
    },
    {
    ip = 54.94.175.161
    port = 50505
    nodeId = 2300238603f56e18ef28f7f8ef18205568c9110ba7b5262f9416c853a0e3a6013e0733822f6832318b58efc2a0672616086abd6d09d9a60ea42988b6f7062e92
    },
    {
    ip = 54.169.104.101
    port = 50505
    nodeId = 47ad780a0a2f10e3ee4d8fef07f0012baac96c9be99de01af5e58ba5d3650c2714cc188f7ed886cba5ee3f822fc2bb0fe3fddedfff77a1b3dc88478ff42607b4
    },
    ]
    }
    Leonel Corso
    @leonelcorso_gitlab

    I have added the peers, the node started fine but log show nothing but

    2019-09-11-14:43:17.285 DEBUG [messageProcess] Queued Messages: 0

    sebastianleoperez
    @sebastianleoperez
    do peers appear when running the curl command now ?
    Leonel Corso
    @leonelcorso_gitlab
    curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"net_peerList", "params": {}, "id":123}' http://127.0.0.1:4444
    {"jsonrpc":"2.0","id":123,"result":[]}
    sebastianleoperez
    @sebastianleoperez
    You are still not finding peers. I'm working on it
    Leonel Corso
    @leonelcorso_gitlab
    Ok, thanks