Move `develop` to `testnet` network
Opened this issue · 0 comments
lachlanglen commented
Currently, alpha.potlock.org (deployed develop
branch) utilizes NEAR mainnet
network. However, this is not practical for testing and it should use testnet
network.
Here are PotLock contract addresses for testnet:
- Registry:
registry.potlock.testnet
- Donation:
donate.potlock.testnet
- PotFactory:
potfactory.potlock.testnet
Plus NEAR Social contract: v1.social08.testnet
Steps to complete:
- When utilizing wallet selector, choose network (
testnet
ormainnet
) based on environment.develop
environment should usetestnet
network. - 6-8 dummy projects will need to be created on testnet (and NEAR social details added) to fill out Projects page
- New pots will need to be deployed from the testnet
PotFactory
contract (address above) - Any components that use NEAR Social will need to use the testnet contract address (
"v1.social08.testnet"
) - Backend will need to populate testnet data (there is none currently - no projects, no donations - so that simplifies it)
- Probably will need to separate backend deployments by env to use appropriate network in indexing/db service