Questions tagged [abigen]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 views

can't generate abi when using map

I am trying to use this : struct [[eosio::table]] tokens { name token; std::map<name,asset> blnc; uint64_t primary_key() const { return token....
0
votes
0answers
152 views

ABI file not generated

I have compiled a smart contract using eosio-cpp -o addbook.wasm addbook.cpp --abigen command. Compilation was successfull and wasm file got generated. But I cant find abi. eosio-cpp version is, ...
1
vote
1answer
225 views

How to use binary extensions

eosio.cdt v1.4.3 introduced binary extensions. Seems useful from it's description. But I wasn't able to find any docs or examples on how to use it. There are some examples here on how to use it in ...
0
votes
1answer
211 views

running hello.cpp tutorial, stuck at compiling WASM, abigen error, file read error

I'm running 3 cores confirmed on virtual machine (per solve for similar problem), and I'm still getting this error: ~/eos$ eosio-cpp -abigen -o hello.wasm hello.cpp error: error reading '/home/corey/...
1
vote
1answer
213 views

Why does the -abigen option in eosio.cdt not work?

When trying to compile my contract, I use the -abigen flag in order to auto-generate the necessary ABI file. This did not work, and gave no errors or warnings. The code to compile the contract is as ...