ethereum / solc-js

Javascript bindings for the Solidity compiler
https://soliditylang.org
MIT License
1.46k stars 476 forks source link

How to get the bytecode and abi from the Json formatted output with solc@0.5.0 ? #329

Closed JoshuaQYH closed 5 years ago

iheqi commented 5 years ago

em... So how to get?I want to know too.

JoshuaQYH commented 5 years ago

em... So how to get?I want to know too.

Just check the readme of this repo.

iheqi commented 5 years ago

em... So how to get?I want to know too.

Just check the readme of this repo.

output: Imooc.json, contract: Course abi: Imooc.Course.abi bytecode: Imooc.Course.evm.bytecode.object

Just like that? It can work, but it is too long.

JoshuaQYH commented 5 years ago

em... So how to get?I want to know too.

Just check the readme of this repo.

output: Imooc.json, contract: Course abi: Imooc.Course.abi bytecode: Imooc.Course.evm.bytecode.object

Just like that? It can work, but it is too long.

If you wanna compile and deploy contract with abi and bytecode, you can check my blog. If it cannot help for you, I am sorry about that because I seldom learn ethereum knowledge.

iheqi commented 5 years ago

em... So how to get?I want to know too.

Just check the readme of this repo.

output: Imooc.json, contract: Course abi: Imooc.Course.abi bytecode: Imooc.Course.evm.bytecode.object Just like that? It can work, but it is too long.

If you wanna compile and deploy contract with abi and bytecode, you can check my blog. If it cannot help for you, I am sorry about that because I seldom learn ethereum knowledge.

old iron, double click six six six. 哈哈哈