by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Xuann
    @ecofintech
    Hello RSK dev community!
    I'm developing a project on RSK, and I have a question regarding time count in RSK. Using block.number, what is the average block time in RSK? same that in Ethereum? Thanks
    Alejandro Cavallero
    @alepc253
    @ecofintech around 30 seconds
    Xuann
    @ecofintech
    aha! thanks!
    Brendan Graetz
    @bguiz
    @IntinteDAO If you are referring to the webinar, all the info is here: https://developers.rsk.co/webinars/202006-004/
    We have recently published the video too, available at the same link.
    Xuann
    @ecofintech
    Hi!
    I'm noticing a possible bug in the RSK explorer. When I copy the contract's address to clipboard with the "copy icon" button, the format is not compatible.
    At least with mycrypto.com, pe ding to test with other wallets. But if I copy the address manually from the link, it is compatible. Here the result of both copy/pastes:
    Xuann
    @ecofintech
    0x18fea3C59d51B052041db72f80b0dD82bf3Ca4b1
    0x18fea3c59d51b052041db72f80b0dd82bf3ca4b1
    (tested in testnet explorer)
    Xuann
    @ecofintech
    Also testing different possibilities for interacting with our deployed contracts. Mycrypto wallet definitivelly is not a good option. I can write functions, but problems at reading getter functions. Is not displaying anything. Which one do you use? Is not any "etherscan" kind of webapp for doing this?
    Juliano Rizzo
    @juli
    RSK checksum (upper/lower case in the address) is different to Ethereum to reduce the probability of users making mistakes and losing funds. https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1191.md
    wlfhotte
    @wlfhotte
    Hi! I copied the client data to another server, and then started it, I found that the block data could not be synchronized.
    below is the log:
    2020-07-02-10:08:41.300 INFO [net] Listening for incoming connections, host: /0.0.0.0, port: [5050]
    2020-07-02-10:08:41.304 INFO [net] NodeId: [e54acc3d4884bc3b6c207bbe64e15e7234bc1c93b6145c27c91753465d3584366267fb4f2bbf53d0c77512f31f2c883d5d854b6364ffe5d94987f401b3e0170a]
    2020-07-02-10:08:41.332 WARN [i.n.b.ServerBootstrap] Unknown channel option 'SO_LINGER' for channel '[id: 0x2bd2f958]'
    2020-07-02-10:08:41.332 WARN [i.n.b.ServerBootstrap] Unknown channel option 'SO_KEEPALIVE' for channel '[id: 0x61025d88]'
    2020-07-02-10:08:41.340 INFO [i.n.h.l.LoggingHandler] [id: 0x2bd2f958] REGISTERED
    2020-07-02-10:08:41.340 INFO [i.n.h.l.LoggingHandler] [id: 0x2bd2f958] BIND(localhost/127.0.0.1:4444)
    2020-07-02-10:08:41.342 INFO [i.n.h.l.LoggingHandler] [id: 0x2bd2f958, L:/127.0.0.1:4444] ACTIVE
    2020-07-02-10:08:41.342 INFO [c.r.n.d.UDPServer] Discovery UDPListener started
    2020-07-02-10:08:41.344 INFO [fullnoderunner] Capability eth version: [V62]
    2020-07-02-10:08:41.344 INFO [fullnoderunner] done
    Alejandro Cavallero
    @alepc253
    @wlfhotte what is your RSK node version?
    are you still running the other node?
    wlfhotte
    @wlfhotte
    @alepc253 Hi!The RSK version is V2.0.1
    Alejandro Cavallero
    @alepc253
    is the other server running?
    wlfhotte
    @wlfhotte
    The old RSK on the other server has been stoped
    Alejandro Cavallero
    @alepc253
    what about the ports in this new server? tcp 4444 and upd 5050
    are they opened?
    wlfhotte
    @wlfhotte
    5050 opened, 4444 need to be confirmed
    Alejandro Cavallero
    @alepc253
    ok... to sync is 5050 but check it, you'll need it
    try this curl -X POST -H "Content-Type:application/json" --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":60}' http://localhost:4444 (using the right endpoint)
    any errors in the log? is it docker/kubernetes?
    wlfhotte
    @wlfhotte
    I’ll check,thank you!
    wlfhotte
    @wlfhotte

    try this curl -X POST -H "Content-Type:application/json" --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":60}' http://localhost:4444 (using the right endpoint)

    @alepc253 The result is {"jsonrpc":"2.0","id":60,"result":"0x0"}

    I run the jar ,not docker/kubernetes. then the log is:
    2020-07-03-14:57:06.229 INFO [c.r.r.n.Web3HttpServer] RPC HTTP enabled
    2020-07-03-14:57:06.251 INFO [net] Listening for incoming connections, host: /0.0.0.0, port: [5050]
    2020-07-03-14:57:06.254 INFO [net] NodeId: [b9fa3c105da3b9b78ebaa90ba84416f8752855c9b80565c79ccf9f10722572d3f2e30362e610147eda03fd05dcc8bf509b855c6940ffb0e5e4700dc81e81af45]
    2020-07-03-14:57:06.303 WARN [i.n.b.ServerBootstrap] Unknown channel option 'SO_LINGER' for channel '[id: 0xf3617eaa]'
    2020-07-03-14:57:06.303 WARN [i.n.b.ServerBootstrap] Unknown channel option 'SO_KEEPALIVE' for channel '[id: 0xeaebbf84]'
    2020-07-03-14:57:06.328 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa] REGISTERED
    2020-07-03-14:57:06.329 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa] BIND(localhost/127.0.0.1:4444)
    2020-07-03-14:57:06.330 INFO [c.r.n.d.UDPServer] Discovery UDPListener started
    2020-07-03-14:57:06.330 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] ACTIVE
    2020-07-03-14:57:06.335 INFO [fullnoderunner] Capability eth version: [V62]
    2020-07-03-14:57:06.335 INFO [fullnoderunner] done
    2020-07-03-14:58:11.767 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ: [id: 0x3ca84e0f, L:/127.0.0.1:4444 - R:/127.0.0.1:56390]
    2020-07-03-14:58:11.768 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ COMPLETE
    2020-07-03-14:58:11.841 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ: [id: 0x58231e6a, L:/127.0.0.1:4444 - R:/127.0.0.1:56392]
    2020-07-03-14:58:11.842 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ COMPLETE
    2020-07-03-15:32:51.083 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ: [id: 0xf81249f3, L:/127.0.0.1:4444 - R:/127.0.0.1:44840]
    2020-07-03-15:32:51.083 INFO [i.n.h.l.LoggingHandler] [id: 0xf3617eaa, L:/127.0.0.1:4444] READ COMPLETE
    Alejandro Cavallero
    @alepc253
    @wlfhotte just to be sure, check this:
    curl -X POST -H "Content-Type:application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":66}' http://localhost:4444
    roomsecrets
    @roomsecrets
    Hi Alejandro - I am waiting still for webinar?
    Alejandro Cavallero
    @alepc253
    @roomsecrets sorry?
    roomsecrets
    @roomsecrets
    is it cancelled now?
    Solange Gueiros
    @solangegueiros
    @roomsecrets , Sorry! Yesterday at night they cancelled the RIF Lumino Demo webinar
    roomsecrets
    @roomsecrets
    @solangegueiros
    ok i will have to wait for the next one..
    2 replies
    Brendan Graetz
    @bguiz

    try this curl -X POST -H "Content-Type:application/json" --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":60}' http://localhost:4444

    The result is {"jsonrpc":"2.0","id":60,"result":"0x0"}

    @wlfhotte if net_peerCount is zero, the problem might be that peer discovery is not working, which might indicate a network problem. Are you within a NAT network? Also, can you check the firewall settings on your network to ensure that ports 5050 and 50505 are not blocked?

    EmiM98
    @EmiM98
    Hi! I want to download Ubuntu to my notebook because I would like to build a node. How I download ubuntu?
    Solange Gueiros
    @solangegueiros
    Hi, @EmiM98
    Here:
    https://ubuntu.com/download
    EmiM98
    @EmiM98
    Thank you!
    EmiM98
    @EmiM98
    What's the difference between a node connected to the public RSK Mainnet and a node connected to the public RSK Testnet?
    which is convenient for me in case of creating a platform for a supply chain?
    EmiM98
    @EmiM98
    No puedo ejecutar el nodo rsk con docker
    lo he intentado muchas veces, pero no me encuentra los archivos descargados de git hub
    Solange Gueiros
    @solangegueiros
    @EmiM98 ,
    In RSK Testnet the tR-BTC don't value nothing, it's fictional.
    In RSK Mainnet the r-BTC is real and it is worth exactly the same thing as the BTC.
    We use RSK Testnet or a local node to do the development and only when going to production we use Mainnet
    It seems to me that you are starting now, so it would be better for you to try the local node first.
    I suggest you to start here:
    https://developers.rsk.co/quick-start/step1-install-rsk-local-node/
    Try first execute the local node using java, it is the easiest way yo start.
    marktoda
    @marktoda
    Hey guys - any good documentation on the regtest node? Specifically looking for the way to send / mint funds. For example in Parity's dev node they have a rich address pre-created and the private key for that. Anything similar here?
    EmiM98
    @EmiM98
    @solangegueiros Thanks for share this info! I tried to execute the local node using java, but I couldn't do it. I wrote in Windows Power Shell the code to execute the node, but
    I got "access denied" on the screen.
    Solange Gueiros
    @solangegueiros

    @EmiM98
    I think you need to open Power Shell in administrator mode.

    I use windows too :)
    I wrote this tutorial focused more in Windows OS, with some steps which we used to start development. You can check the part "Install local node"
    https://developers.rsk.co/tutorials/ethereum-devs/setup-truffle-oz/

    samdevv
    @samdevv
    Please help,i have successfully exceuted https://developers.rsk.co/tutorials/frontend/frontend-web3-local/ to the end, how do i run the commands in geth on the front side,like getting balances,sending and receiving ether .Thanks
    Solange Gueiros
    @solangegueiros

    @samdevv , we have another tutorial explaining how to connect Geth to a local node:
    https://developers.rsk.co/tutorials/ethereum-devs/geth-attach-local-node/
    And this can help too:
    https://developers.rsk.co/tutorials/ethereum-devs/geth-attach-deploy-smart-contract/

    It is not directly related to the frontend because you you do it in a terminal.
    The frontend uses web3 to do the communication with the node.

    roomsecrets
    @roomsecrets
    how do we setup an RSK account ?
    Solange Gueiros
    @solangegueiros

    @roomsecrets , the best way is with a wallet mnemonic.
    To choose a wallet:
    https://developers.rsk.co/wallet/use/

    To understand about address notation:
    https://developers.rsk.co/rsk/architecture/account-based/

    In this tutorial we did it using the wallet metamask connected to remix to compile and deploy smart contracts in testnet. It is a good start.
    https://developers.rsk.co/tutorials/ethereum-devs/remix-and-metamask-with-rsk-testnet/