npm install --legacy-peer-deps
find ./node_modules -name ".git" -type d -exec rm -rf {} +
Add .env
the project's root directory:
VUE_APP_INFURA_KEY={Infura key}
npm run serve
npm run build
npm run test:unit
Start local application first before running the e2e test
npm run serve
npm run test:e2e
npm run test:e2e:mobile
npm run lint
To get rid of the websocket error, use the following command in the project root (where package.json lives)
find ./node_modules -name ".git" -type d -exec rm -rf {} +
Checklist: Website: *.tor.us
Test/Browser | Chrome | Safari | Brave | Firefox | Edge | iOS Safari | iOS Chrome | Android Chrome |
---|---|---|---|---|---|---|---|---|
Test login on google/discord oauths | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Skale Network Change | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Import Account | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Test wallet transfer | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Test on torus-embed vue-app all buttons | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Notes:
- When you update @metamask/contract-metadata, run the following command to sync images to s3
cd node_modules/@metamask/contract-metadata
aws s3 cp images s3://images.toruswallet.io/ --cache-control "public, max-age=604800, immutable" --metadata-directive REPLACE --recursive
Feature list includes the following:
- Use OpenLogin for Auth
- Multiple network support (All EVM Chains)
- View Native token, ERC20, ERC721, ERC1155 Balances
- Transfer Native token, ERC20, ERC721, ERC1155 Balances
- Connect to dapps via Wallet Connect
- Allow Transfers to ETH, Google, Discord, Reddit, Twitter, ENS, Unstoppable domains, GitHub, .BIT
- Allow adding contacts and sending assets to contacts
- Export private keys
- Multiple themes supported
- Fully whitelabelable engine
- Multiple languages supported (6)
- Import external accounts
- Web SDK to connect to dapps
- Discover page with featured dapps(One click login)
Environment | Torus Network | GitHub branch |
---|---|---|
alpha | testnet | Any branch |
beta | testnet | Any branch |
testing | testnet | develop |
staging | mainnet | staging (versioning) |
prod | mainnet | master (versioning) |
cyan | cyan | master (versioning) |