Update api urls in docs (#1887)
This commit is contained in:
parent
4ffc2f6e05
commit
e20cfbee44
|
@ -115,7 +115,7 @@ Keypair Path: ${HOME}/.config/solana/id.json
|
||||||
|
|
||||||
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
|
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
|
||||||
```sh
|
```sh
|
||||||
solana config set --url https://devnet.solana.com
|
solana config set --url https://api.devnet.solana.com
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Default Keypair
|
#### Default Keypair
|
||||||
|
@ -658,7 +658,7 @@ be able to withdraw their funds.
|
||||||
|
|
||||||
To get around this case, it is also possible to withdraw from the stake pool's
|
To get around this case, it is also possible to withdraw from the stake pool's
|
||||||
reserve, but only if all of the validator stake accounts are at the minimum amount of
|
reserve, but only if all of the validator stake accounts are at the minimum amount of
|
||||||
`1 SOL + stake account rent exemption`.
|
`1 SOL + stake account rent exemption`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ spl-stake-pool withdraw EjspffVUi2Tivszzs2JVj4GiSiMNYKyqZpgP3NeefBU1 0.02 --use-reserve
|
$ spl-stake-pool withdraw EjspffVUi2Tivszzs2JVj4GiSiMNYKyqZpgP3NeefBU1 0.02 --use-reserve
|
||||||
|
|
|
@ -65,7 +65,7 @@ Keypair Path: ${HOME}/.config/solana/id.json
|
||||||
|
|
||||||
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
|
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
|
||||||
```
|
```
|
||||||
solana config set --url https://devnet.solana.com
|
solana config set --url https://api.devnet.solana.com
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Default Keypair
|
#### Default Keypair
|
||||||
|
@ -870,7 +870,7 @@ The `spl-token gc` command provides an example implementation of this cleanup pr
|
||||||
|
|
||||||
|
|
||||||
### Token Vesting Contract:
|
### Token Vesting Contract:
|
||||||
This program allows you to lock arbitrary SPL tokens and release the locked tokens with a determined unlock schedule. An `unlock schedule` is made of a `unix timestamp` and a token `amount`, when initializing a vesting contract, the creator can pass an array of `unlock schedule` with an arbitrary size giving the creator of the contract complete control of how the tokens unlock over time.
|
This program allows you to lock arbitrary SPL tokens and release the locked tokens with a determined unlock schedule. An `unlock schedule` is made of a `unix timestamp` and a token `amount`, when initializing a vesting contract, the creator can pass an array of `unlock schedule` with an arbitrary size giving the creator of the contract complete control of how the tokens unlock over time.
|
||||||
|
|
||||||
Unlocking works by pushing a permissionless crank on the contract that moves the tokens to the pre-specified address. The recipient address of a vesting contract can be modified by the owner of the current recipient key, meaning that vesting contract locked tokens can be traded.
|
Unlocking works by pushing a permissionless crank on the contract that moves the tokens to the pre-specified address. The recipient address of a vesting contract can be modified by the owner of the current recipient key, meaning that vesting contract locked tokens can be traded.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue