Update api urls in docs (#1887)

This commit is contained in:
Tyera Eulberg 2021-06-08 12:24:49 -06:00 committed by GitHub
parent 4ffc2f6e05
commit e20cfbee44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ Keypair Path: ${HOME}/.config/solana/id.json
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
```sh
solana config set --url https://devnet.solana.com
solana config set --url https://api.devnet.solana.com
```
#### 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
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
$ spl-stake-pool withdraw EjspffVUi2Tivszzs2JVj4GiSiMNYKyqZpgP3NeefBU1 0.02 --use-reserve

View File

@ -65,7 +65,7 @@ Keypair Path: ${HOME}/.config/solana/id.json
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
@ -870,7 +870,7 @@ The `spl-token gc` command provides an example implementation of this cleanup pr
### 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.