by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Denis Gavrilin
    @DenisGavrilin

    Hello Guys.
    I'm trying to use 'Sleep' adapter but requests executes immediately without deley.

      //ROPSTEN
      address _oracle = 0xA3Ce768F041d136E8d57fD24372E5fB510b797ec;
      bytes32 _jobId = "00364325dafb410bbdadd7d79e69eab5";
    
      function _requestSobr(uint delay) private {
        Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector);
        req.addUint("until", now + delay);
        req.add("get", "https://api.loanscan.io/v1/reference-rates/current/Sobr?tokenSymbol=DAI");
        req.add("path", "DAI");
        req.addInt("times", 100000000);
        sendChainlinkRequestTo(_oracle, req, LINK);
      }

    I found an accepted bug, does it works today or am I doing something wrong?

    chainlinkbridge
    @chainlinkbridge

    [slack] <matterbridge> DenisGavrilin@lobby: Hello Guys.
    I'm trying to use 'Sleep' adapter but requests executes immediately without deley.

      //ROPSTEN
      address _oracle = 0xA3Ce768F041d136E8d57fD24372E5fB510b797ec;
      bytes32 _jobId = "00364325dafb410bbdadd7d79e69eab5";
    
      function _requestSobr(uint delay) private {
        Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector);
        req.addUint("until", now + delay);
        req.add("get", "https://api.loanscan.io/v1/reference-rates/current/Sobr?tokenSymbol=DAI");
        req.add("path", "DAI");
        req.addInt("times", 100000000);
        sendChainlinkRequestTo(_oracle, req, LINK);
      }

    I found an accepted bug, does it works today or am I doing something wrong?

    RickGriff
    @RickGriff

    Hi all. I'm looking at implementing an ETH:USD price feed in my Ethereum dApp via the Chainlink Aggregator template.

    I hear Chainlink prices are updated every 10 minutes. Are oracles synchronized with their price updates, or do they update on their own schedules? I'd like to ideally minimise gas and only request a new price when oracles have updated their data.

    prographo
    @prographo
    I have some very basic question to determine if I am in the right place. I am looking for decentralised Oracles to feed USD/BTC prices to a smart contract. Does chainlink work with many blockchains or just Ethereum? The prices need to be every second.
    SplendidX
    @SplendidX
    How do I get the 0.5.0 solidity version of the Chainlink contracts from NPM? thanks
    Sigil.Link
    @sigildotlink
    Verified the truffle box is working with 0.5.0 contracts. There appears to be an issue with my "fund-contract.js". I will have a look at this later.
    Sneha Agarwalla
    @snag0
    Hello guys, I'm trying to use the 'Sleep' adapter, but the requests are executing without delay. Can someone please help me out with this?
    Benedikt Berger
    @bergben
    Hey guys! Two quick questions:
    1 - are there any research grants available for Chainlink?
    2 - are there any in-depth docs available other than whitepaper, official docs and codebase? Especially about the aggregating process on-chain and/or external adapters. Is there a way to get in touch with someone from inside Chainlink to discuss further details - I'm doing research in that area. Would also be great to know which parts of the whitepaper are still valid - e.g. there is a part about Chainlink's goal to combine Trusted Execution Environment in this aggregation process.
    Ayhan Rashidov
    @aihanrashidov
    Hello. I've managed to get LINK tokens for my testnet account but how to get such tokens on a mainnet account?
    Patrick McCorry
    @stonecoldpat
    hey hey. i'm trying to use the tutorial for ropsten, but when I put in the jobid "897479ba429445e4a89be90cfcd52a51", it complains that it isnt a bytes32

    for this function:
    function requestEthereumPrice(address _oracle, bytes32 _jobId, uint256 _payment)

    Has anyone ran into this before ?

    (ill put it in the discord too)
    fangzhen
    @lifangzhen
    where can i find RopstenConsumer.sol?
    seetharaman gr
    @grsind19
    ChainLink oracle service is failing in Quorum privateFor Transactions. Won't it support it?
    seetharaman gr
    @grsind19
    Is there anyway Chainlink smart contract deployed for Quorum private smart contracts
    ?
    Drav78
    @Drav78
    Hi guys. Can someone help me? i am trying to run chainlink node for first time and i get this error: " unable to initialize ORM: PQ: syntax error at or near "NOT error runing migrations"
    acavus
    @acavus

    Hi Guys,

    I use Chainlink to request data and then save it in a local variable. This variable is then assigned to an array. Unfortunately the data assignment to the array is not synchronous, because I get the result from Chainlink a bit later.
    What can I do so that only when I receive the data from Chainlik, is it assigned to the array?

    Gam
    @LuckyX2
    Hi team. Might be worth adding to the docs that for the "DATABASE_URL=postgresql://$USERNAME:$PASSWORD@$SERVER:$PORT/$DATABASE" line to connect to the db, it should have "?sslmode=disabled" at the end (no space) for anyone running a local docker postgres image.
    Otherwise there will be a "unable to lock ORM: pq: SSL is not enabled on the server" error
    Gam
    @LuckyX2
    Additionally the docs say to set ETH_CHAIN_ID to 3 but my geth image defaulted to 0. Something to be aware of/make note of.
    Gam
    @LuckyX2
    On ropsten btw, I realize the IDs will be different between networks. My ropsten was 0. Started with:
    "docker run --name eth -p 8546:8546 -v ~/.geth-ropsten:/geth -it \
    ethereum/client-go --testnet --ws --ipcdisable \
    --wsaddr 0.0.0.0 --wsorigins="*" --datadir /geth"
    matrixbot
    @matrixbot
    yarnit Hi all
    pppwjjj888
    @pppwjjj888
    HI
    Who will bear the GAS fee for using the 'CHAINLINK' callback function?
    harmohan-a
    @harmohan-a
    hey guys, i getting unable to lock ORM: dial tcp 127.0.0.1:5432: connect: connection refused error when trying to start the chainlink container connecting to a postgres running in another container. i can connect to the db using a postgres client and i am using sslmode=disable
    the image i am using is the latest image. i tried to pull again but still the same issue
    harmohan-a
    @harmohan-a
    2020-06-08T09:18:59Z [FATAL] Unable to initialize ORM: dial tcp 127.0.0.1:5432: connect: connection refused
    unable to open postgresql://user:password@localhost:5432/db?sslmode=disable for gorm DB
    harmohan-a
    @harmohan-a
    ffs .....ok, this was so silly of me. because the link is running inside a container. it cant connect to the host ip as 127.0.0.1. the localhost would have been inside the container. i had to change the value to host.docker.internal to tell docker that i want to connect to the host's localhost, not containers localhost
    Jaeson Booker
    @jaebooker
    Screen Shot 2020-06-11 at 1.07.00 AM.png
    When I run "cd ~/.chainlink-kovan && docker run -p 6688:6688 -v ~/.chainlink-kovan:/chainlink -it --env-file=.env smartcontract/chainlink local n" to deploy a chainlink docker node, it gives me the error above.
    Grant Bartel
    @grantathon

    I'm also getting this error: "[ERROR] unable to lock ORM: dial tcp: lookup ruby.db.elephantsql.com"

    I followed the tutorial on chain.link. I'm running Ubuntu 18.04.4 LTS. I run other docker images on my machine just fine, so I'm unsure of the problem here.

    The ETH_URL is set to point to Ropsten via fiews.io.
    How can I solve this error? I've Googled endlessly!
    Cheng Wang
    @chengw123
    I am also get this problem. Any solutions, thank you.
    rob4102
    @rob4102
    Open your firewall up
    Remove database timeout from your .env file ?
    Paste your .env config ?
    *paste your .env config into chat to allow us to see configuration variables please.
    Cheng Wang
    @chengw123

    ROOT=/chainlink
    LOG_LEVEL=debug
    ETH_CHAIN_ID=3
    MIN_OUTGOING_CONFIRMATIONS=2
    LINK_CONTRACT_ADDRESS=0x20fe562d797a42dcb3399062ae9546cd06f63280
    CHAINLINK_TLS_PORT=0
    SECURE_COOKIES=false
    ALLOW_ORIGINS=*

    ETH_URL=wss://ropsten-rpc.linkpool.io/ws
    DATABASE_URL=postgresql://dbUsername:dbPASSWORD@127.0.0.1:5432/DATABASE?sslmode=disabled
    DATABASE_TIMEOUT=0

    i tried to remove the database timeout, and changed the server to docker ip, but still get this error
    Ahmad Tabbakha
    @whatsadebugger
    Do i need to do anything special to get this preparetest command to run. I set my DB URL to what was recommended DATABASE_URL=postgresql://127.0.0.1:5432/chainlink_test?sslmode=disable
    where is libpq behavior defined. Seems to me since no user is specified in the DB url its using my shell login. I'll try it with the chainlink user
    ->  chainlink git:(readme-build-steps) go run ./core/main.go local db preparetest
    2020-06-24T16:28:16Z [INFO]  Resetting database: "postgresql://localhost:5432/chainlink_test?ssl_mode=disable" cmd/local_client.go:360
    unable to drop postgres database: pq: password authentication failed for user "ahmad"
    OhmTHStakePool
    @OhmTHStakePool
    You have to specify user on database url like this DATABASE_URL=postgresql://user:password@127.0.0.1:5432/chainlink_test?sslmode=disable
    Change your IP as well. I thought 127.0.0.1 might not work
    Ahmad Tabbakha
    @whatsadebugger
    what permissions are required for the chainlink user
    OhmTHStakePool
    @OhmTHStakePool
    What is your DB name that created on Postgres?
    bjwswang
    @bjwswang
    hi , anyone can take a look at this issue ?
    err=verifyEthereumChainID failed: ethereum ChainID doesn't match chainlink config.ChainID: config ID=3, eth RPC ID=0 errVerbose=ethereum ChainID doesn't match chainlink config.ChainID: config ID=3
    this is my command to startup eth
    docker run --name eth --restart always -p 8546:8546 -v ~/.geth-ropsten:/geth -it  ethereum/client-go:v1.9.15  --testnet --nousb --ws --ipcdisable            --wsaddr 0.0.0.0 --wsorigins="*" --datadir /geth
    matrixbot
    @matrixbot
    thodges Your Geth node probably isn't synced yet.
    bjwswang
    @bjwswang
    @matrixbot ahh... make sense.. let me try after data synced.