/cng/ - Chainlink node general

In /cng/ we discuss node, api's, hardware, cloud computing services, and anything else related to node operations

>running a node
docs.chain.link/docs/running-a-chainlink-node

>wiki
to be made

>web services
azure.microsoft.com/en-us/
aws.amazon.com/
digitalocean.com

>news
linkpool releases bridges medium.com/linkpool/welcoming-bridges-chainlink-adaptor-framework-14437feb4331
CLC may or may not be a scam
1k eoy

user has a fix for accessing dashboard on aws previous thread

Attached: 1351_5DHSbLSh.jpg (800x303, 109K)

Other urls found in this thread:

calculator.s3.amazonaws.com/index.html
github.com/smartcontractkit/chainlink/blob/master/examples/ropsten/contracts/RopstenConsumer.sol
s3.linkpool.io/bridges/cryptocompare.json
solidity.readthedocs.io/en/develop/types.html#address-literals
faucet.ropsten.be/
ropsten.chain.link/
docs.chain.link/docs/running-a-chainlink-node
docs.chain.link/docs/assumptions.
twitter.com/AnonBabble

Is there a more dumb and hated fanbase then chainlinks?

>Is there a more dumb and hated fanbase then chainlinks?
The clcg trannies

BSV, tron, xrp

how easy will it be to run a node on aws?
easier or harder than the beginner guide?

I'm not sure what you mean by easier or harder
all aws is doing is giving you a virtual computer to work on. it would be more dependent on which os you are choosing to use. Ubuntu server is fine

Whats the latest on using AWS? Has anyone figured out a tier which will run a decent node?

The storage required is 99.9% occupied by the Eth full node you need to be running in order for you CL node to be worth shit. Parity node is about 135gb right now.

CPU/RAM wise, I don't think you need much. 2 cores and 8gb should be fine (based on what Hodges has said after I trawled through his reddit post history).

Using this to get pic related:
calculator.s3.amazonaws.com/index.html

It works out at about $100 a month (with no contract and no upfront payment, 1yr contract is $50/month but obviously you're stuck with it then). Seems like a lot based on current link prices. This may be way over specced though, the instance I am using has 2 cores and 8GB RAM.

There are cheaper options available, but I don't know how what kind of performance we're going to need yet. Thoughts?

Attached: clnodeaws1.png (984x519, 43K)

Hi marines. I'm too retarded to participate in these, but i appreciate them nonetheless.

Are there any comparable services to aws and azure that are outside of US jurisdiction? I ask because if you were picking multiple nodes to relay a call, you'd always want to include a few like that...

Whatever size you choose, you need to double it + load balancer + snapshots + bandwidth + whatever else I'm missing. You don't really want to rely on a single node, do you user? What happens when you need to do an upgrade or the like?

Yeah you should have a redundant setup but I really don’t know if running your own ethereum node will be economically viable. May be better to use an EaaS like Fiews. But I don’t know how much that’ll cost either so... shit isn’t cheap

this is one of the reasons why I am going to at the beginning self host. I'm in the position to self host however. I have 32tb of storage on my home server, along with a battery backup. it is cheaper for me to pay for a cheap lte data plan in case my main isp goes down to keep things going then it would be for me to pay for aws. I understand not all anons are in this position however

I've got hardware specced out too, this is most likely what I'll do in the end

Necessary info we need:
-minimum realistic monthly cost of running a node (including cloud services & api data subscriptions)
-list of API data providers

The whole point of a chain link node is to provide data. Therefore the data inputs are the most important part of all this, everything else is just leg work. This really should just be an API thread

Attached: 1544809851187.png (647x647, 256K)

What do you get for running a chain link node? What are the costs and benefits?

very very necessary
I touched on the system requirements last thread though I'm almost certain I was wrong on the hard drive space

It's like you're deliberately ignoring the MANY step by step guides that Thomas has written.

like which one? the link in op is for like all of them. there is a sidebar

thanks just bought 100k clcg

bump

if I have a food internet connection and a computer that has a sgx compatible processor, can I run a node with, say, a laptop?

which one would you recommend?

the idea is to set a node with the minimum investment possible (no aws, no paid APIs, no high end computer)

that's why I started these threads. to use collective autism to figure this out. we found all these breadcrumbs for partners but we have spent zero time researching what we need to run a node. we will have all this information in a general.
now as far as I've researched it doesn't take much to run a node. geth requirements seem to be what you need to look at because that seems to be the most work. the biggest factor is keeping uptime. aws is great for that but you have to pay and when mainnet hits a lot of us might be operating at a loss due to network activity compared to cost of aws.
decentralization is another big factor. if everyone is running on aws and there is an outage (rare but it happens), then most of the network goes down. not something good for any party.

yeah AWS is sgx compatible
but any intel i5, i6, i7 from the 6th gen onwards is SGX comaptible too

it's about the uptime to deliver, not having sgx capabilities. But I think there's going to be a load of contracts that won't require I get my node running for more than 24hrs at a time


gg/RV26zJ

Attached: Untitled.png (904x460, 33K)

cool I'll put that info on the next threads op

that link is a discord invite op, members of the CL team are there and overall its the same kind of discussion and meemtry we used to have over here, feel free to join simply type "www.discord." before the gg

my understanding is that it's only worth operating nodes locally if you plan to operate multiple nodes (>50k links), otherwise just use EaaS + aws or LP NaaS

however if the data you plan on serving is niche and has less competition you could get away with operating a less optimal node locally with little link staked (so yes your laptop would be sufficient as long as it has enough storage for a full ethereum node. Chainlink nodes aren't resource intensive, 4GB ram should be fine)

Attached: 12577543821.gif (960x480, 3.77M)

>my understanding is that it's only worth operating nodes locally if you plan to operate multiple nodes (>50k links)
care to explain why that is the case user?

differs from everyone i guess, personally too lazy to set everything up just for a single node, probably not cost effective either

it really depends on the data you provide - the more competition, the more optimization/reputation needed. However if you can predict demand it's possible to operate a less optimal node while still making profit until the trend catches on

that makes sense. I'm just wondering if at the beginning would be worth it to run multiple nodes that aren't just backup nodes. I can't imagine network traffic would be big and paying for multiple aws instances would add up pretty quick

I've got a full time job and all in link.

I sell some link every month for rent and then buy it back the following payday.

I spend $2000/mo paying off debts I took out to buy more link.

When should I start selling link to get money to set up nodes? And how much link should I sell?

Can someone help me, i'm at the end of the Fulfilling Request section and im supposed to modify the constructor in RopstenConsumer.sol

the constructor in the file doesn't have this area that I'm supposed to replace:

constructor() Ownable() public {
setLinkToken(0x20fE562d797A42Dcb3399062AE9546cd06f63280);
setOracle(CHANGE-ME);
}

my constructor looks like this:

constructor() Ownable() public {
setChainlinkWithENS(ROPSTEN_ENS, ROPSTEN_CHAINLINK_ENS);
}

im using the link they specify: github.com/smartcontractkit/chainlink/blob/master/examples/ropsten/contracts/RopstenConsumer.sol

nevermind, it looks like it's been moved to this section of code's function:

function setChainlinkWithENS(address _ens, bytes32 _node)
internal
{
ens = ENSInterface(_ens);
ensNode = _node;
bytes32 linkSubnode = keccak256(abi.encodePacked(ensNode, ENS_TOKEN_SUBNAME));
ENSResolver resolver = ENSResolver(ens.resolver(linkSubnode));
setLinkToken(resolver.addr(linkSubnode));
setOracleWithENS();
}

wait, fuck, still stuck :(

check out line 789
those are the lines you are suppose to change.

I feel like a total brainlet, what value should I use for ROPSTEN_CHAINLINK_ENS

anyone messed with the bridges linkpool came out with today?
ive added it to path and ran their bridges -b s3.linkpool.io/bridges/cryptocompare.json and it works.
however, im not sure what to do from here. can someone help a brainlet out?

and they have different values in their
setLinkToken(0x20fE562d797A42Dcb3399062AE9546cd06f63280);
setOracle(CHANGE-ME)

compared to
address constant ROPSTEN_ENS = 0x112234455C3a32FD11230C42E7Bccd4A84e02010;
bytes32 constant ROPSTEN_CHAINLINK_ENS = 0xead9c0180f6d685e43522fcfe277c2f0465fe930fb32b5b415826eacf9803727;


GODDMNIT I FUCKING HATE SHITTY DOCUMENTATIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111

im not sure what you mean user.
on line 791 it says setOracle(CHANGE-ME)
you take the address that was created with your oracle contract and insert ithere. thats the only thing you need to change.

or are you talking about
address constant ROPSTEN_ENS = 0x112234455C3a32FD11230C42E7Bccd4A84e02010;
bytes32 constant ROPSTEN_CHAINLINK_ENS = 0xead9c0180f6d685e43522fcfe277c2f0465fe930fb32b5b415826eacf9803727;

function updateChainlinkAddresses() public onlyOwner {
newChainlinkWithENS(ROPSTEN_ENS, ROPSTEN_CHAINLINK_ENS);
}

if so you are suppose to delete those lines.

im guessing the contract has changed because this is what I have

Attached: reeeeeeeeeeeeeeeee.png (870x583, 70K)

oh wait my lines might be different because i deleted the lines the guide says to. scroll up a little and the change me section should be there.

Attached: Screenshot-20190416215716-646x238.png (646x238, 24K)

225K linklet boomer here.

No PC knowledge other then watching porn.
This thread was made for me.
Thanks frens.

im indeed an idiot. I didn't realize it meant to actually changed the constructor code/implementation, I thought it just meant value for the paramter

thanks

np user

so is the Oracle address the address to my node or the address of the contract (this makes sense) that is in the dropdown menu here and what was created earlier in tutorial that I hightlighted in attached pic

Attached: re2.png (1691x459, 111K)

the oracle address is the contract address i believe
you set your node address in the oracle contract in the line setFRulfillmentPermission with a ,true
the highlighted address you have there is your contract address. look on the right of your screenshot. see Oracle at 0x692...77b3a? compare that to what you have highlighted.

>the highlighted address you have there is your contract address. look on the right of your screenshot. see Oracle at 0x692...77b3a? compare that to what you have highlighted.

they are the same, but it gives this warning. I wonder if this is correct:

browser/RopstenConsumer.sol:794:15: Warning: This looks like an address but has an invalid checksum. If this is not used as an address, please prepend '00'. Correct checksummed address: '0x692a70D2e424a56D2C6C27aA97D1a86395877b3A'. For more information please see solidity.readthedocs.io/en/develop/types.html#address-literals

nevermind, it would help if I read documentation:

The contract should compile, you may get a warning if the address was formatted in all lower-case, but this is fine.

i asked thomas about that. thats the warning the guide is telling you to ignore because remix only does lowercase in addresses or something like that. that error is normal

makes sense, tried to deploy but failed:

creation of ARopstenConsumer pending...
[vm]from:0xca3...a733cto:ARopstenConsumer.(constructor)value:0 weidata:0x608...50029logs:0hash:0x41b...ba5ed
Debug
status 0x0 Transaction mined but execution failed
transaction hash 0x41bee4604c49002d021d75c6f0e521765df35aaf62eeb59435cf7449527ba5ed
contract address 0x0dcd2f752394c41875e259e00bb44fd505297caf
from 0xca35b7d915458ef540ade6068dfe2f44e8fa733c

do you have eth in your ropsten wallet?

ahhh, that'd do it. I saw that as a prerequisite but there wasn't a link on how to fund it

faucet.ropsten.be/
ropsten.chain.link/
ill add these to the next op
should have done that to begin with

you rock, thanks

another stupid question, is my ropsten testnet wallet the address of my cl node (ACCOUNT_ADDRESS in chainlink configuration)?

no. it would just be your metamask address. i made the mistake of sending a test eth and a few hundred test eth directly to my node. Im not 100% sure how to get it off now but at least it was test eth. im sure there is a way.

hrm, how do I get my metamask address. Metamask is mentioned in the documentation

is that the grey output in pic related?

Attached: mask.png (1068x487, 72K)

well, looks like I started documentation in node operators section and not Getting Started -> Install, configure, & fund MetaMask

most likely my faut again for linking docs.chain.link/docs/running-a-chainlink-node in the op instead of docs.chain.link/docs/assumptions. ill change that next time as well

awesome, thaks for all the help. Ill pick back up tomorrow night

I want to run a link node locally. I have a Mac dedicated for it and it runs geth nicely. I was thinking about purchasing a UPS to maximize uptime.

How would I prevent problems occurring from internet outages? Would some sort of vpn fix that? Not really sure... also I need to figure out how to fix problems that might arise from sync failure to ethereum. Any guides on this?

>How would I prevent problems occurring from internet outages? Would some sort of vpn fix that? Not really sure... also I need to figure out how to fix problems that might arise from sync failure to ethereum. Any guides on this?

I'd have a backup 4g internet connection (assuming you have good coverage)

VPN won't fix anything if your hard connection goes down

one last error at last step of testing job, will check back tomorrow for answers

Gas estimation failed
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
gas required exceeds allowance or always failing transaction

You have to fund the contract. Get the Ropsten contract address on remix and send Ropsten link to it.

hrm, I thought I sent 100 LINK to it and it confirmed

Did you find the actual contract you created? You have to send Ropsten link to the contract that you want your node to receive so that your node is being paid.

I first sent a couple hundred to the aRopstenConsumer I created and also sent a couple hundred to the oracle I created..and i sent LINK, not eth

Does this map show the Peninsula Trail?