Skip to content

Latest commit

 

History

History

helloack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
--- hello ack project ---
 An example contract for testing ECDSA & RSA signature verification with `ack` library.

 -- How to Build with CMake and Make --
   - cd into the 'build' directory
   - run the command 'cmake ..'
   - run the command 'make'

 - After build -
   - The built smart contract is under the 'helloack' directory in the 'build/examples' directory
   - You can then do a 'set contract' action with 'cleos' and point to the './build/examples/helloack' directory

- Additions to cmake should be done to the CMakeLists.txt in the './src' directory and not in the top level CMakeLists.txt

 -- How to build with cdt-cpp --
   - cd into the 'build' directory
   - run the command 'cdt-cpp -abigen ../src/helloack.cpp -o helloack.wasm -I ../include/'

 - After build -
   - The built smart contract is in the 'build/examples/helloack' directory
   - You can then do a 'set contract' action with 'cleos' and point to the 'build/examples/helloack' directory