Polaris is copy trading platform that tries to bring the trust in traders for investors.
Project is made out of 3 canisters.
Trader is a user who has a possibility of investing funds of third parties called Investors
Investor is a user who has a possibility of following Traders and investing in positions suggested by those Traders
Position is an object that stores information about investment suggested by a trader (spot price, target price, stop loss price, exchange, pair, metadata, etc.)
If you want to test your project locally, you can use the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
dfx deployAdditionally, if you are making frontend changes, you can start a development server with
npm startWhich will start a server at http://localhost:8080, proxying API requests to the replica at port 8000.
- Quick Start
- SDK Developer Tools
- Motoko Programming Language Guide
- Motoko Language Quick Reference
- JavaScript API Reference
- add unittests
- change Array.append to Buffer.append
- move some functions from
main.moof each canister toutils.mo