I couldn't find any information on how to automatically include the ricardian clauses in the abi. I always get the error:
abi_generator.hpp:68 ricardian_contracts ] Warning, no ricardian clauses found for
I found out that the name must be ${contract}_rd.md
. But the abi_generator doesn't even resolve the correct contract name in my contract.
- How is the contract name determined? It looks like you need to use the
EOSIO_ABI
macro in some way. How to do it when I cannot use this macro? - I tested it with the example contract:
eosiocpp -n hello
and create files forhello_rc.md
,hello.hi_rc.md
. Runningeosiocpp -g hello.abi hello.cpp
creates the abi with no warnings, but the clauses are empty in theabi
file. Why are they empty? Do they need a specific format?