Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development ports are not compatible with localnet ports #3028

Open
ghost opened this issue Mar 28, 2023 · 0 comments
Open

Development ports are not compatible with localnet ports #3028

ghost opened this issue Mar 28, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 28, 2023

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 
andy-haynes added a commit that referenced this issue Mar 29, 2023
NODE_URL for development to be consistent with near-cli #3028
andy-haynes added a commit to near/near-cli that referenced this issue Mar 29, 2023
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

No branches or pull requests

0 participants