Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

wallet.near.org deprecation #1077

Merged
merged 4 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ NEAR CLI is a Node.js application that relies on [`near-api-js`](https://github.
_Click on a command for more information and examples._

| Command | Description |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| ----------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------|
| **ACCESS KEYS** | |
| [`near login`](#near-login) | stores a full access key locally using [NEAR Wallet](https://wallet.testnet.near.org/) |
| [`near login`](#near-login) | stores a full access key locally using [MyNEARWallet](https://testnet.mynearwallet.com/) |
| [`near keys`](#near-keys) | displays all access keys and their details for a given account |
| [`near generate-key`](#near-generate-key) | generates a local key pair **or** shows public key & [implicit account](http://docs.near.org/docs/roles/integrator/implicit-accounts) |
| [`near add-key`](#near-add-key) | adds a new access key to an account |
Expand All @@ -36,8 +36,8 @@ _Click on a command for more information and examples._
| **TRANSACTIONS** | |
| [`near tx-status`](#near-tx-status) | queries a transaction's status by `txHash` |
| **VALIDATORS** | |
| [`near validators current`](#near-validators-current) | displays current [epoch](https://docs.near.org/concepts/basics/epoch) validator pool details |
| [`near validators next`](#near-validators-next) | displays validator details for the next [epoch](https://docs.near.org/concepts/basics/epoch) |
| [`near validators current`](#near-validators-current) | displays current [epoch](https://docs.near.org/concepts/basics/epoch) validator pool details |
| [`near validators next`](#near-validators-next) | displays validator details for the next [epoch](https://docs.near.org/concepts/basics/epoch) |
| [`near proposals`](#near-proposals) | displays validator proposals for the [epoch](http://docs.near.org/docs/concepts/epoch) _after_ next |
| **JS-SDK** | |
| [`near js`](#near-js) | Work with JS contract enclave |
Expand Down Expand Up @@ -135,7 +135,7 @@ This API Key will be saved in a config and used for each command you execute wit

### `near login`

> locally stores a full access key of an account you created with [NEAR Wallet](https://wallet.testnet.near.org/).
> locally stores a full access key of an account you created with [MyNEARWallet](https://testnet.mynearwallet.com/).

- arguments: `none`
- options: `default`
Expand All @@ -148,9 +148,9 @@ near login

**Custom wallet url:**

Default wallet url is `https://wallet.testnet.near.org/`. But if you want to change to a different wallet url, you can use `--walletUrl` option.
Default wallet url is `https://testnet.mynearwallet.com/`. But if you want to change to a different wallet url, you can use `--walletUrl` option.
```
near login --walletUrl https://testnet.mynearwallet.com/
near login --walletUrl https://localhost:12345/
```

#### Access Key Location:
Expand Down
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function getConfig(env) {
networkId: 'mainnet',
nodeUrl: process.env.NEAR_CLI_MAINNET_RPC_SERVER_URL || 'https://rpc.mainnet.near.org',
contractName: CONTRACT_NAME,
walletUrl: 'https://wallet.near.org',
walletUrl: 'https://app.mynearwallet.com/',
helperUrl: 'https://helper.mainnet.near.org',
helperAccount: 'near',
explorerUrl: 'https://explorer.mainnet.near.org',
Expand All @@ -21,7 +21,7 @@ function getConfig(env) {
networkId: 'testnet',
nodeUrl: process.env.NEAR_CLI_TESTNET_RPC_SERVER_URL || 'https://rpc.testnet.near.org',
contractName: CONTRACT_NAME,
walletUrl: 'https://wallet.testnet.near.org',
walletUrl: 'https://testnet.mynearwallet.com/',
helperUrl: 'https://helper.testnet.near.org',
helperAccount: 'testnet',
explorerUrl: 'https://explorer.testnet.near.org',
Expand Down
Loading