Call a Smart Contract on Nebulas

May 5, 2018 · 3 min read

Nebulas Wallet Part 7

YouTube video — coming soon

Open up your index.html file

Click the Contract tab and then Click the CALL tab

Lets break this down one by one so first the function

In the previous tutorial we Deployed a Contract. This Smart Contract has functions that we can call. Fucking Amazing right!

Here we have the function SAVE with the ARGUMENTS

Lets review the Smart Contract functions so we know what were Calling

Here we have the save function with the parameters (height)


The To ADDRESS needs to be the CONTRACT ADDRESS this address is given to you when you Deployed a Contract

(Note: if you forgot the contract address you need to re-deploy the contract)

Once you have your Contract address entered into the To Address section We can add 1 to the Value / Amount to Send

Click Test and the results should be

Now we can Click Submit

Click the txHash to view the status

We can call the balanceOf function

Here we: add the balanceOf function, unlocked our wallet, added our contract address and Clicked the Test button

The Test result shows the balance that we saved with save function. The reason we see the balance is because we called the balanceOf function.

Basically call contract means that we call functions inside the contract. Simple Enough.

This concludes our usage of the Nebulas Web Wallet.

Peace out!


Nebulas is an autonomous metanet.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store