Functions Subscription
Setup a Chainlink Functions Subscription
Last updated
Setup a Chainlink Functions Subscription
Last updated
Go to Chainlink Functions and perform the following actions:
Make sure you are on Avalanche Fuji Testnet from the drop-down menu
Click the “Connect wallet” icon at the top right to connect your MetaMask wallet
MetaMask will pop-up to connect your wallet, click "Next":
Now click "Connect":
Once you are connected to Chainlink Functions and on the Avalanche Fuji Testnet, click the “Create Subscription” button:
The next steps are:
add your email address (#1),
put in “Bootcamp Project” for “Subscription name” (#2) and
accept the privacy policy and click the “Create Subscription” button (#3)
MetaMask will pop-up with a “Confirm” request, so click the “Confirm” button at the bottom right:
You need to approve the Functions terms of service and the subscription creation on the next MetaMask window, click the “Confirm” button at the bottom right to approve this request:
After the transaction to approve the subscription, you need to sign the message to save your subscription name and email address. Click the “Sign” button at the bottom right to sign the message:
Upon a successful subscription creation, you need to add LINK to your Functions Subscription to fund the Chainlink oracles to run Chainlink Functions . Click the “Add funds'' button at the bottom:
On the following page, put in 5
for the LINK amount (#1) and then click the “Add funds” blue button (#2):
You will now need to confirm the transaction to send LINK to your Subscription. MetaMask will pop-up and click the “Confirm” button at the bottom right to approve adding funds:
Once done, you can refresh the page, and see your subsciption's details and LINK balance.