Development ports are not compatible with localnet ports
Opened this issue · 0 comments
Deleted user commented
Problem
The current default development configurations are not pointing to localhost (localnet)
Expected Behavior
It should automatically work with near-cli's localnet configurations
Steps to reproduce
# Start up localnet
cd ~
git clone https://github.com/near/nearcore
cd nearcore
make debug
# Use nearup to start localnet (assuming nearup already installed)
nearup run localnet --binary-path ~/nearcore/target/debug/
# Start up local wallet
cd ~
git clone https://github.com/near/near-wallet
cd near-wallet/packages/frontend
NEAR_WALLET_ENV=development && yarn install
NEAR_WALLET_ENV=development && yarn start
# Try logging in to localnet with local wallet (assumes near-cli already installed)
NEAR_ENV=localnet near login
# This fails