Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Eric Badiere
    @ebadiere
    oh shoot
    okay thanks
    Thomas
    @thodges-gh
    No problem. It'd be cool if that worked with Docker, though.
    Eric Badiere
    @ebadiere
    Hello again, I am trying to set up the ATestnetConsumer.sol contract and run it per the docs: https://docs.chain.link/docs/fulfilling-requests
    I added the job, I copy/pasted the URL from the solidity function requestEthereumLastMarket, and pasted it in a new browser tab and sure enough, crypto compare returns the price in USD
    contract is deployed and funded using remix and metamask
    when I run that function using my oracle and job ID it returns a price of 0 wei
    I then hit the currentPrice tab to run that function and it confirms 0 wei
    Thomas
    @thodges-gh
    @ebadiere What is your requesting transaction?
    Thomas
    @thodges-gh
    Did you send it to 0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 as your oracle contract?
    Eric Badiere
    @ebadiere
    yes
    Thomas
    @thodges-gh
    Okay, that's not a contract address. You need to send requests to the contract address of the oracle contract that you deployed.
    Eric Badiere
    @ebadiere
    shoot
    0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 is listed in the configuration as
    ACCOUNT_ADDRESS
    oh wait
    okay
    So the address of the Oracle.sol at the beginning of the process described?
    Thomas
    @thodges-gh
    I don't understand what you're asking, sorry.
    The Fulfilling Requests guide has you deploy an oracle contract. You'll use that contract's address to send requests to.
    Eric Badiere
    @ebadiere
    okay I am trying to understand what "the oracle contract you . deployed" is
    yes
    so
    Section titled "Deploy your own Oracle contract"
    I deployed that oracle contract and ran the setFulfillmentPermission function
    passing it my oracle account address and the bol true
    I just now used that oracle contract address to run the requestEthereumLastMarket and got sero again
    zero
    Thomas
    @thodges-gh
    Did your node pick up the request?
    Eric Badiere
    @ebadiere
    okay so how or where do I look for that?
    There are no transaction created yet
    No jobs have been run yet
    Thomas
    @thodges-gh
    Your job ID d5837ac643ea47a78a246bf76802d41d didn't execute at all?
    You'll also need to fund your node's account 0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 with ETH.
    Is your Ethereum client synced?
    Eric Badiere
    @ebadiere
    okay I disn't do that
    hmm, I am using an external provider for the node. I thought it owuld be the full node that would need to have the blockchain synced
    Thomas
    @thodges-gh
    Okay that's fine.
    Eric Badiere
    @ebadiere
    I am using Fiews.io
    and metamask to send
    okay so I'll send some eth to the account
    I was not sure about that and I also thought that it would stake link
    not eth
    link it only used to pay for requests then?
    Thomas
    @thodges-gh
    Correct.
    Eric Badiere
    @ebadiere
    okay thanks
    Eric Badiere
    @ebadiere
    A chainlink node does not have a wallet I assume, so when the node's account is funded, how can the funds be retrieved? As a node operator, am I the owner of the contract?
    Eric Badiere
    @ebadiere
    Okay I see a withdraw function on the Oracle.sol contract