OPOLO-1 / test-opolo-integration

OPOLO coin integration test repo
MIT License
2 stars 0 forks source link

test-opolo-integration

This is the main testbed repo for integration of the coins into OPOLO Cosmos. This contains all necessary functions related to cryptography. You may need to add your coin functions. Follow these steps to integrate a coin:

  1. Go through main.c and read the code of cosmos_test(); and neo_test(); which will give you an idea
  2. Build the code using command "make" and run the build using "./main"
  3. Add the source files .c and .h with coin name, for example neo.h,neo.c, Add the object file neo.o in the Makefile
  4. Write the function generateAddress that starts with mnemonic text and using the path of the coin generates the private key, public key and the address.
  5. Write a function signTransaction that takes all parameters of the transaction, hash it and then sign it from the private key generated in step 4.
  6. Write test functions for different transactions and for generating addresses at different paths.
  7. Commit the code and send a pull request