Commit Graph

167 Commits

Author SHA1 Message Date
Jon Cinque 29ad0f3013
token-2022: Add intro docs, structure for more docs (#3384)
* token-2022: Add intro docs, structure for more docs

* Address feedback

* Remove the word "migration"
2022-07-27 12:41:09 +02:00
Ajay Gautam 62ede3262f
Update associated-token-account.md (#3329)
The create_associated_token_account was linked with the previous deprecated function. I have attached the newly updated instruction create_associated_token_account instruction.
2022-07-19 18:21:21 +02:00
F.S. Kroes a79cba07c8
Used full out spelling to resolve confusion - related to #3330 (#3331)
* Used full out spelling to resolve confusion - related to #3330

Based on @CriesofCarrots comment. Made a new PR, because I couldn't change #3330 anymore. 
Used full out spelling of the word `AToken` to resolve confusion.

* Update docs/src/associated-token-account.md

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-07-11 09:56:05 -06:00
Jon Cinque 5b1b87ed48
token-swap: Prepare v3.0.0 release for testnet and devnet (#3227) 2022-06-07 16:31:18 +02:00
Todsaporn Banjerdkit 37265fc5c8
docs: add missing single quote (#3200) 2022-05-31 15:38:23 +02:00
S1nus 2aff441e48
Confusion with decimals (#3187)
If decimals for the mint are set to "9", then to mint 100 tokens, you'd need to enter 100000000000

unless I am mistaken?
2022-05-20 12:55:21 +02:00
Anurag Gupta 3d54d641e5
Update token.mdx (#3049) 2022-03-29 13:50:16 -06:00
Jacob Creech 77330230bf
Update Token TS Docs (#2938)
* Revert "Added token ts docs (#2575)"

This reverts commit f64df314a3.

* Added token ts docs

* Added token ts docs

* Upgrade docusaurus

* Upgrade docusaurus

* Add autocomplete.js

* Update docusaurus

* fix: update feature-proposal

* Updated token docs

Update token docs backlinks

Update docusaurus
2022-02-22 13:47:11 -06:00
Jacob Creech 90aac5c98f
Revert "Added token ts docs (#2575)" (#2933)
This reverts commit f64df314a3.
2022-02-18 20:44:45 -06:00
Jacob Creech f64df314a3
Added token ts docs (#2575)
* Added token ts docs

Fixed typos

Added token ts docs

Added updating authority example

* Added wrapped sol ts docs

* Update to match current token ts

* Remove browser bundle token doc

Co-authored-by: Jacob CG <82475023+Jacob-CG@users.noreply.github.com>
2022-02-18 19:53:50 -06:00
Ben Williams 0c9f962a7b
fix small typo (#2727) 2022-01-11 14:33:23 -07:00
imprfekt 429824e4fb
docs: token: Added missing information about security audit (#2724)
* docs: token: Added information about security audit

for Streamflow Timelock.

* docs: token: additional security report added for Streamflow
2022-01-11 18:09:58 +01:00
Jon Cinque 2d770628ef
stake-pool-cli: Add best practices for fees, prevent zero fees (#2670)
* stake-pool-cli: Add best practices for fees, prevent zero fees

* Address feedback
2022-01-11 01:24:16 +01:00
Noopur Ramakant Phalak a0755afa96
Update stake-pool.md (#2702)
Github link rectified for stake-pool source code...
2022-01-06 17:11:11 +01:00
Dmitri Makarov 65b49073f4
Decrease the stake pool size due to the new mem op syscall base cost (#2705) 2022-01-05 14:26:13 -08:00
Emilia Hane 241a09b494 fix: token address in place of sender address 2021-12-27 10:31:03 -08:00
Jon Cinque 8c9f8a0088
stake-pool: Reduce maximum pool size (#2654)
* stake-pool: Reduce huge pool size in tests

* stake-pool: Reduce supported maximum size
2021-12-21 13:10:12 +01:00
Jon Cinque 1851068e8c
stake-pool-docs: Clarify that epoch fee is on top of commissions (#2652) 2021-12-20 22:15:37 +01:00
imprfekt eaca634995
docs: token: Added timelock program (#2616)
* docs: token: Added timelock program

Added another solution for SPL token vesting, with additional customizations.

* Docs: token: Token Vesting — solution names and orders

* docs: token: Added "coming soon" features for StreamFlow's token vesting.

...and further explained default options.
2021-12-04 01:09:14 +01:00
Brooks Prumo 1de578d36e
docs: Prefer non gendered pronouns (#2610) 2021-12-02 17:28:45 -06:00
Jon Cinque 75ddd9bb22
stake-pool-docs: Rearrange docs, add quickstart guide (#2561)
* stake-pool-docs: Rearrange docs, add quickstart guide

* Rearrange doc sidebar
2021-11-06 12:48:11 +00:00
Jon Cinque 01765b9953
stake-pool: Reduce wait for active stake merges (#2553)
* stake-pool: Reduce wait to one epoch for active merges

* Remove stake_program references

* Remove credits observed point from docs
2021-11-01 15:14:49 +01:00
Jon Cinque 8be3ba819c
stake-pool-docs: Add the published audits (#2546) 2021-10-26 22:30:16 +02:00
Jon Cinque 756696ee8e
stake-pool-cli: Add validator list argument to create (#2545)
People want to know more about the validator list, but there isn't too
much info provided.

* Include the validator list as an optional parameter to pool creation
* Print out the address during creation
* Always print out the address during `list`
* Add docs about it
2021-10-25 23:13:58 +02:00
Jon Cinque 675d65b965
stake-pool-cli: Add more docs around scripts (#2531) 2021-10-20 01:29:00 +02:00
Jon Cinque 203db7bc3f
stake-pool-cli: Improve deposit and withdraw UX (#2530) 2021-10-19 23:30:41 +02:00
Jon Cinque f95e390dd4
stake-pool: Clarify stake deposit fee (#2520) 2021-10-19 12:26:50 +02:00
Jon Cinque b80c10f406
stake-pool: Add withdraw-sol command + CLI + docs (#2475)
* stake-pool: plumb sol withdraw fee and authority

* Add sol withdraw instruction and processor

* Cleanup sysvar usage

* Fix stack size violation

* Add tests

* Add CLI support

* Add docs for new command

* Integrate review feedback
2021-10-05 22:44:03 -04:00
Jon Cinque d8b8aae4f5
stake-pool: Update docs and help messages (#2435)
* stake-pool: Update docs and help messages

* Integrate review feedback
2021-09-23 23:42:25 +02:00
Ryan M. Shea 9672ac8cd5
Update SPL logo (#2436) 2021-09-21 13:35:44 -06:00
Konosh93 b5d75510f6
(docs) Fix broken links (#2424)
* Fix docs file link

* Fix file
2021-09-17 00:58:54 +02:00
Jon Cinque f98840c4ca
stake-pool docs: Clarify withdrawal (#2146) 2021-07-29 14:27:31 -04:00
Jon Cinque b52d41ea58
stake-pool: Update docs with new instructions and output (#2125) 2021-07-25 19:53:12 -04:00
chaseeb d12926330f
update token.md (#2075)
fix NFT spelling error
2021-07-13 12:08:52 -06:00
Hao-Cher Hong 8734338d57 spl-token docs: Create NFT token with 0 decimal place
Close #2040
2021-07-08 12:56:02 -07:00
Haik Dulgarian 5022f8bc54
Fix a variety of token.md doc inconsistencies; improve multi-sign nonce example (#1993)
* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* finalize formatting of console commands and improve nonce account example

* finalize formatting of console commands and improve nonce account example

Co-authored-by: Haskell FTW <HaskellFTW@protonmail.com>
2021-07-01 18:57:33 +02:00
Jon Cinque a081c2859b
stake-pool: Wait to apply new fee (#1922)
* Add `next_epoch_fee` field and fix serde

* Only update fee after the epoch is passed

* Update docs
2021-06-15 23:40:14 +00:00
jon-chuang 55edf0e9cc
Also clone program data (#1904) 2021-06-15 23:42:43 +02:00
Tyera Eulberg f519dc7549
Fixup spl-token create-account example (#1897) 2021-06-10 19:13:07 +00:00
Tyera Eulberg e20cfbee44
Update api urls in docs (#1887) 2021-06-08 12:24:49 -06:00
Jon Cinque 9d7dae8bb4
token-docs: add token registry (#1855)
* token-docs: add token registry

* Update docs/src/token.md

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-06-03 22:55:09 +02:00
Henry-E ef9684db04
Comment says javascript but code is typescript (#1744)
* Comment says javascript but code is typescript

* Update docs/src/associated-token-account.md

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-06-03 13:13:55 +02:00
Max Block b8c2968cd1 fix a 404 link 2021-05-28 23:42:25 -07:00
drbh f3a8fae2f5
swap associated token account addr for token addr (#1705)
the associated token account address is derived from token address. The token address is the correct argument.
2021-05-11 13:45:15 -06:00
dr497 1f48b5bc5e docs: add token vesting section 2021-05-10 20:11:23 -07:00
drbh 0ac20fcddf incorrect capitalization 2021-05-08 18:50:24 -07:00
drbh 9ca1c6e8f2 adjust typos and proper nouns on naming service page 2021-05-08 18:50:24 -07:00
Tyera Eulberg 13689ac2dd
Account with 2 Cs (#1680) 2021-05-08 19:18:32 +00:00
Michael Vines 00eb817073
Update token.md 2021-05-05 21:06:48 -07:00
Michael Vines a539ef021f Explicitly call out the --decimals argument to `spl-token create-token` 2021-05-05 08:47:55 -07:00
Jon Cinque 1efc90c5c9
stake-pool: Update docs for all new features (#1651)
The stake pool program changed a lot, but the docs did not.  Bring them
up to speed!
2021-05-05 16:14:24 +02:00
Michael Vines 4068b77f53 Add name service to sidebar 2021-05-04 10:20:01 -07:00
Lcchy 0ed080a50f
Add name-service program and js bindings (#1600) 2021-05-04 00:07:11 +00:00
Tyera Eulberg c9a5289aa0
Add airdrop help to token docs (#1636) 2021-04-26 20:51:43 +00:00
Tyera Eulberg 99aaab0993
docs: specify mint in spl-token balance examples (#1634) 2021-04-26 20:20:16 +00:00
Jon Cinque 40ebfc6917
stake-pool: Set fee (#1604)
* stake-pool: Add set_fee instruction

* Add more tests

* Add set-fee CLI instruction

* Update documentation

* Cargo fmt

* Re-format

* Fix clippy
2021-04-21 14:20:55 +02:00
Trent Nelson 9dd807c893 docs: specify mint in `spl-token transfer` examples 2021-04-16 05:42:17 +00:00
Jon Cinque 71e5e556c4
stake-pool: Assess fee as a percentage of rewards (#1597)
* stake-pool: Collect fee every epoch as proportion of rewards

* Add more complete tests

* Update docs
2021-04-15 12:10:17 +02:00
Jon Cinque 9e4f190633
stake-pool: Rename instructions / structs (#1536)
* stake-pool: Rename instructions / structs

* Cargo fmt

* Fix proptest
2021-03-30 23:54:06 +02:00
Michael Vines a029447484 Move to positional parameters 2021-03-30 09:40:23 -07:00
Tyera Eulberg 0ab541bc40
Update accounts examples (#1478) 2021-03-22 18:37:10 +00:00
Jon Cinque 6db3b29066
stake-pool: Add usage docs (#1277)
* stake-pool: Add usage docs

* More instructions

* Update for adding validator stake accounts

* Review feedback

* Update command output

* Add note about credits observed

* Finish stake pool docs

* Integrate review feedback

* Add motivation and design sections

* Add rebalancing example
2021-03-15 19:05:33 +01:00
Justin Starry 57d5b56208
lending: Add program addresses to docs (#1442) 2021-03-12 22:16:30 +08:00
Jon Cinque 125593defc
token-swap: Document owner address in README (#1368)
* token-swap: Document owner address in README

* Update docs for clarity, "token swap" -> "pool"

* Cleanup some language

* Add more info to docs too
2021-03-04 20:24:43 +01:00
Ryo Onodera b82de608de
Remove outdated comment (#1373) 2021-03-04 14:51:39 +09:00
WhoSoup f4216941a0 fix typos 2021-02-17 11:36:19 -07:00
Jon Cinque 6c0999287a
docs: Flesh out token swap README (#1133)
* Flesh out token swap README

* Add testing info

* Update opening paragraphs and add link to dapp

* Wrap

* Update title

* Update docs/src/token-swap.md

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

Co-authored-by: B <264380+bartosz-lipinski@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-05 21:35:33 +01:00
Tyera Eulberg 190e664dd1
Add initial signed-memo program (#1135)
* Initial s-memo

* Populate readme

* Add signed-memo to spl docs

* Log less, fail faster

* Replace and bump memo

* Update memo id

* Add memo prefix and len

* Add test that demonstrates compute bounds

* Add logging and compute to memo docs
2021-01-28 12:21:21 -07:00
Tyera Eulberg 682e914c90
Fix doc typos (#1137)
* Fix typos

* Wrap lines
2021-01-27 00:36:09 -07:00
Michael Vines 76fcea0dbb Refine SPL Token wallet integration guide 2021-01-15 11:32:25 -08:00
Justin Starry 891b6794f3
Introduce SPL Token Lending (#696)
* Add spl-token-lending

* lending-client

* cargo clippy

* Limit bpf tests

* Enable lending bpf tests

* Remove obligation signer requirement

* Fix token lending js cli test

* Fix
2020-12-19 08:17:07 +08:00
Paul 7abf8bd9cf
[AToken] add motivation section to docs (#870) 2020-11-18 20:17:15 -08:00
Michael Vines acf7ed45b5
t 2020-11-18 13:07:35 -08:00
Michael Vines 6f884de25f Rename 'delivery' to 'distributor' 2020-11-18 19:59:23 +00:00
Michael Vines 393021948a Update docs/src/feature-proposal.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-18 19:59:23 +00:00
Michael Vines 0fa9a9428a Initial feature proposal documentation 2020-11-18 19:59:23 +00:00
Michael Vines 71ab7ea1ba
K 2020-11-18 10:27:23 -08:00
Michael Vines 1fe820c16d
Fix findAssociatedTokenAddress more 2020-11-18 10:18:58 -08:00
Michael Vines eff3677b46
Correct `findAssociatedTokenAddress` JS sample
Fixes #869
2020-11-18 10:13:16 -08:00
Trent Nelson d7eba3b877 Apply suggestions from code review 2020-11-09 22:33:07 -07:00
Trent Nelson 732975c9bc Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-09 22:33:07 -07:00
Trent Nelson 9c136855a2 Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-09 22:33:07 -07:00
Trent Nelson 6de7f050a5 Docs: Add Token multisig examples 2020-11-09 22:33:07 -07:00
Michael Vines 0b1da24f61 ed 2020-11-05 17:27:59 -08:00
Justin Starry 1f810787d0
Fix broken stake-pool docs link and make readme's consistent (#805) 2020-11-06 09:15:27 +08:00
Michael Vines edc67a2b72 Update doc links 2020-11-05 13:53:39 -08:00
Michael Vines c6689eab8c Add associated-token-account documentation 2020-11-05 13:42:48 -08:00
Michael Vines 414544042e Add SPL Token wallet integration guide 2020-11-05 13:42:48 -08:00
R. M. Shea 18ed2a2080
Add Search functionality (#729)
* Install `lunar-search` component

* Add lightweight search
2020-10-30 10:02:59 -07:00
Ryo Onodera 0dc32f67df
Document about the known fake rent issue (#753)
* Document about the known fake rent issue

* Bad english

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Fix link

* Apply more suggestions

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-30 15:17:41 +09:00
Justin Starry edb0a7deea
Document self-transfer behavior (#743) 2020-10-28 10:48:23 +08:00
Michael Vines 43b6177b08 Add JSON RPC methods section 2020-10-14 23:36:37 -07:00
Jack May 08d9999f99
add shared-memory program (#611)
* add shared-memory program

* add offset and reduce shared object size
2020-10-14 23:50:57 +00:00
Michael Vines 47ef251c8f Add NTF documentation 2020-10-14 08:46:57 -07:00
Jack May bb9f0223a2
Add doc info about generating keypair (#516) 2020-09-22 09:03:25 +00:00
Jack May f68ff75ba0 backport #479 to v2 2020-09-21 17:08:37 -07:00
Jack May 80ea6ff536
Fix multisign check (#479) 2020-09-18 15:53:26 -07:00
Trent Nelson dfe39d3001 Docs: Describe how to configure spl-token-cli 2020-09-18 01:26:00 +00:00
Jack May 0070aeb099
Clarify token freeze authority documentation (#456) 2020-09-16 23:20:06 +00:00
Greg Fitzgerald 0ca4a61e4d
Javascript -> JavaScript (#409) 2020-09-09 17:57:30 -06:00