- NodeJS Express REST API
- Auth by THX OAuth2 OIDC server
- Job Scheduling by agenda.js
- Transaction Processing by OpenZeppelin Defender Relay
- Multisig Architecture by Safe Protocol Kit
Run in this order as apps depend on eachother and will fail if services are not fully started.
yarn
yarn contracts:serve
yarn docker:serve
yarn safe:install
yarn api:serve
Account
|-- Discord
|-- Twitter
|-- Youtube
|-- Wallet
Campaigns
|-- Analytics
|-- Collaborators
|-- Participants
|-- PointBalances
|-- Subscriptions
|-- Wallets
|-- Webhooks
Rewards
|-- Coin
|-- NFT
|-- Coupon
|-- Custom
|-- DiscordRole
Quests
|-- Daily
|-- Invite
|-- Social
|-- Custom
|-- Web3
ERC20
|-- Balances
|-- Tokens
|-- Transfers
ERC721
|-- Balances
|-- Tokens
|-- Transfers
ERC1155
|-- Balances
|-- Tokens
|-- Transfers
Webhook
|-- Daily
|-- Invite
|-- Custom
|-- Wallet
- Make sure agenda.js is started properly as this will process scheduled transactions.
- Make sure txs is running and troubleshoot specific txs issues below
- Make sure a local signer is available for hardhat or a network of choice
-
Internal Server Error Originating from httpRequests.js in thx-web container are likely caused by a connectivity issue in your local Docker container setup. Restart docker machine and its containers to fix this.
-
Bad Gateway Error Originating from txs-web this is likely caused by a missing SafeMasterCopy in the txs db. Insert with the command
yarn safe:init