NoCodeSol is a visual sequential workflow design tool for building Solidity Smart Contracts with no actual Solidity syntax knowledge required.
This tool essentially allows to involve a much broader amount of people to creating Smart Contracts for EVM based blockhains.
The tool is great for prototyping ideas because of low initial learning curve and general convenience of ready-to-use web based solution. The additional steps like setting up a local development environment and deployment infrastructure are essentially put aside. Anyone could just open a web page, design a desired logic for their Smart Contract and then export the result in a form of Solidity/ABI/AST/Bytecode files or deploy to EVM compatible blockchain directly from the browser.
The proof-of-concept implementation allows to create Smart Contracts with multiple functions and custom logic involving a (yet) limited set of operations.
Here's a summary of advantages the platform gives comparing to existing alternatives:
- Lower learning curve for designing and deploying SCs onto EVM blockchain.
- Self-documented implementation which graphical representation could be used for presenting and pitching the project.
- Testing the SC logic directly in a browser thanks to JavaScript emulator.
- Potentially could be used to output other artifacts (think of WASM, JavaScript, etc.).
NoCodeSol is extendable in a fairly straightforward manner to support a wider set of operations available in Solidity language.
The target audience is yet unclear, as the tool could be adapted to either more granular control of the output or to provide more abstract components in exchange for flexibility.
Target audience could defined as one of the following:
- Programmers, who want to debug their Smart Contracts quickly in a browser execution environment
- Non-programmers, who just want to prototype their ideas quickly
- Learners, who want to learn Solidity in a more visual and interactive way
This project is based on NoCode JS framework which provides a model-agnostic UI and execution environment for bootstraping custom No-code tools.
Custom model was created from scratch to support building & emulating Solidity Smart Contracts behavior directly in the browser.
Then, a custom made compiler transforms the sequence of steps to the Solidity AST structure, which is then passed to solc compiler to generate ABI and Bytecode for deploying to the EVM blockchains.
Consider downloading a dump file for importing into NoCodeSol.
/// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.16<0.9.0;
contract BasicToken {
mapping(address => uint256) public balances;
function mint(uint256 amount) public {
balances[msg.sender] = balances[msg.sender] + amount;
}
function transfer(address recipient, uint256 amount) public {
if (balances[msg.sender] >= amount) {
balances[msg.sender] = balances[msg.sender] - amount;
balances[recipient] = balances[recipient] + amount;
} else {}
}
}
Deployed to:
- Morph Testnet:
0x799f5e246F3F31c9Ec9B36f9CF7f1BdA94d881be
- ArbSepolia Testnet:
0x26f24fd9afbc367cbf0bed364c3fe2b490e0d911
- Gnosis Chiado Testnet:
0xE320077b267ce495b93dc1b2480c18fd103B6133