Skip to content

ShafiqAiman94/ContractGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Contract Generator

Deploying smart contract on the blockchain is quite annoyed for me because I didn't use any DApps framework such as truffle and embark. So, I created a bash script for generate a javascript file from solidity source code. But I didn't put selection for the account, only uses account[0] and gas cost is 10000 wei. You need to configure it manually.

Dependency

If you don't have solidity compiler solc yet, you need to compile it from source or download the binary from the website.

Running the script

bash ContractGenerator.sh file.sol

It will produce a .js and deploy it on your Ethereum Virtual Machine (EVM) by using this command

loadScript("path/to/your/jsfile")

About

Compiling and Deploying Smart Contract in a simple way

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages