-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
21 lines (16 loc) · 968 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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