Announcing Lua VM’s Integration On GraphLinq For Creating Endless Opportunities

Today, we are announcing the release of Lua virtual machine on the GraphLinq network for scripting, offering even more freedom & flexibility while creating graphs. Not sure how to create graphs? Learn how to create your first graph today on GraphLinq

What is Lua, and what I can do with it on GraphLinq?

Lua is a powerful and fast programming language that is easy to learn and use. Lua is designed to be a lightweight embeddable scripting language. It is used for all sorts of applications, from games to web applications and image processing.

Any developer can now create scripts in their personal graph to basically make any needed Arithmetic without having to need or ask for specific new blocks to the team, you can even call direct contract from-chain in your Lua script without having to make a connector: The Lua VM is connected on-chain and ready to make requests to receive blockchain data such as an Ethereum specific contract.

If you have been following GraphLinq you know that later this year we’ll be releasing a marketplace, where developers will be able to publish their own graph for a sale or propose their freelance service for a specific task to the community; Same as for any user: if you need something really specific to be developed to fetch on-chain data, or make a bot; anything related to what you can do with our IDE.

Here is a sneak-peak of the marketplace currently being developed by our team.

With the current release, you can do read-only actions from Ethereum contracts within the Lua VM on your graph. In our next update, we will add the compatibility to execute transactions, which means that you will be able to call function contract and broadcast transaction execution to the Ethereum Chain with your own Managed Wallet.

Here is a sample graph with Lua scripting to fetch data from the Glq Staking Contract. Few lines of code are enough to read from the chain contract and receive it in your own graph.

IDE Change Log # 1.3.0:

- Introducing the GraphLinq Lua Scripting Engine, allowing you to read any smart contract data from the Ethereum blockchain (EVM compatible chains in a future update)
- New blocks for the Lua scripting is available on the IDE (Lua Block, JSON ABI Block, Smart Contract Reader Block)
- GraphLinq Lua Scripting documentation: docs-lua.graphlinq.io
- Minimap on the IDE that helps you organize your graph more easily
- Engine optimization

________________________________________________________

What is a Managed Wallet, and how to use it with Lua VM?

To execute transactions, for example, an auto swap on Uniswap (but basically, you can do any type of call you want on any contract with the Lua scripting), you’ll need an Ethereum wallet and ETH deposited to pay executions fees.

To make that happen, we created a managed wallet system that you can see in “My Wallets” on your app’s dashboard.

By checking the “My Wallets” page on the app, you can create a new managed wallet and give it a specific name, the private key will be given to you at creation so that you can manage it wherever you need it.

You just need to send some ETH to your new address for the Gas fees of your transactions! Then to use it for transaction broadcast, you will need to use it in your graph or your Lua script with the same wallet name to pay the fees and execute your transaction directly on the Ethereum chain.

> Check A Sample Template For Binding ChainLink Price Feed Using Lua Scripting On the IDE

> Details in documentation: https://docs-lua.graphlinq.io/#/examples/binding-chainlink)

Complete documentation is available (updated over time with new updates) for the Lua VM features: docs-lua.graphlinq.io.

Join Telegram Community: https://t.me/graphlinq

Follow us on Twitter: https://twitter.com/graphlinq_proto

--

--

--

GraphLinq Protocol enables anything & everything crypto/defi oriented to be built without having to code. Build on our IDE now: app.graphlinq.io

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why more than 90% of blockchain projects fails and why this is good

Before vs now: A data issue

Masawa Minute 9

A team of three people — two women and one man — are looking at a screen of a small laptop or an ipad, the man pointing at it with a pencil

So what is to come?

AAX Web 3 Series: Unstoppable domains explained — AAX Academy

Orbs — Making Your Smart Contracts Smarter (https://www.orbs.com/)

Basic Glossary of Blockchain Terms

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
GraphLinq Protocol

GraphLinq Protocol

GraphLinq Protocol enables anything & everything crypto/defi oriented to be built without having to code. Build on our IDE now: app.graphlinq.io

More from Medium

NewsCrypto.io - AI Sentiment Tool Upgrade

What is Euler in 5 minutes

Don’t Worry — Share: 5 Tips on How to Keep Your CAD Files Safe

A Deep Dive into Lossless DeFi. A rich solution for risk free trading 💹 experience. Part 1