This project is to do Over the Counter trading (OTC).
- Run Spook
- Run the OTC project
- Configure Poltergeist
- Use OTC
To run Spook you need to have it and compile it. Spook
Go to Spook Debug folder
%FolderStructure%\Spook\Spook\bin\Debug\netcoreapp3.1
To run Spook.
- Open a terminal window, and run the
./spook-cli.exe
To run OTC.
- First you need to compile the project by open it and go to Build>Build Solution
- If you have Visual Studio open the OTC.sln and run it.
- If not, Open a terminal window inside the Server Folder and execute this command
dotnet run ./Backend/bin/Debug/netcoreapp3.1/OTC.dll --path=../Frontend/
- If it doesn't run, try executing with this command
dotnet run ./Backend/bin/Debug/netcoreapp3.1/OTC.dll --port=80 --env=prod --path=./Frontend/ --phantasma.rest=http://localhost:7078/api --api=http://localhost:7077/rpc -cache.path=Cache
To Run poltergeist you need to have Poltergeist
- Download it.
- Unzip the zip folder.
- Run it.
- Go to settings
- On nexus choose Local Net
- Click on the Confirm Button
- Import a wallet, in these case it should be the test wallet with the WIF
L2LGgkZAdupN2ee8Rs6hpkc65zaGcLbxhbSDGq8oh6umUxxzeW25
To use OTC you need to have Spook running, Poltergeist running and OTC running. To Access it you need to open a web browser and go to http://localhost/ or http://127.0.0.1/
- Choose the poltergeist button and allow the dapp on the poltergeist client.
- Take a look, create your offer and have fun. :)
After following these steps and it doesn't work, try this. Clean all the projects and Compile them and try again from step one. If it still doesn't work, contact @Tek or @Relfos