Commit Graph

151 Commits

Author SHA1 Message Date
mvines 331c0c20f6
Update discord link in docs (#4079) 2023-03-10 16:23:01 +00:00
Marquelle Nesbitt 3db25f2686
docs: Update ATA derivation example to use `findProgramAddressSync` (#4068) 2023-03-02 23:39:19 +00:00
gr8den eb7d32612f
fix typo in confidential token docs (#4065) 2023-02-27 06:14:15 +00:00
dependabot[bot] 86ceb0b756
build(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /docs (#4044)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 13:02:51 +00:00
Jon Cinque 34b57d62fe
docs: Clarify audit status of all programs, no S word (#4046) 2023-02-13 22:05:49 +00:00
omahs c73fe57b92
Fix: typos (#4019) 2023-02-02 14:50:25 +01:00
Anoushk Kharangate 4c0b1101a5
docs: documentation for account compression program (#3998)
* docs: added account compression to sidebar

* docs: added account compression page

* docs: added concepts

* docs: added more core concepts + usage docs

* fix: remove extra column in table

* fix: fixed error in swap example

* fix: revert package.json changes for docs

* docs: remove digital asset ex from compression docs

* Address nit

---------

Co-authored-by: Noah Gundotra <ngundotra@users.noreply.github.com>
2023-01-27 16:27:53 -06:00
Jon Cinque c4269cb989
stake-pool: Wait at least two epoch boundaries to set fee (#3979) 2023-01-27 02:10:24 +01:00
dependabot[bot] d36fd08674
build(deps): bump json5 and babel-loader in /docs (#3951)
Bumps [json5](https://github.com/json5/json5) and [babel-loader](https://github.com/babel/babel-loader). These dependencies needed to be updated together.

Updates `json5` from 2.2.0 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

Updates `babel-loader` from 8.2.3 to 8.3.0
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.3...v8.3.0)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: babel-loader
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 00:10:30 +01:00
Jon Cinque 4a8e7a0034
docs: Add second stake pool audit by Neodyme (#3945) 2022-12-23 18:03:15 +01:00
Jon Cinque 9f050c7c49
docs: Add token-2022 extension usage examples in CLI (#3919)
* docs: Add extension usage in CLI

* Update docs/src/token-2022/extensions.mdx

Co-authored-by: hana <81144685+2501babe@users.noreply.github.com>

Co-authored-by: hana <81144685+2501babe@users.noreply.github.com>
2022-12-16 18:36:02 +01:00
Jon Cinque 26aed39c54
docs: Add stake pool fees page to the sidebar (#3911) 2022-12-15 00:42:45 +01:00
Jon Cinque 77a297c2c7
docs: Add token-2022 audits and clarify upgradability (#3894)
* docs: Add token-2022 audits and clarify upgradeability

* Update docs/src/token-2022.md

Co-authored-by: Michael Vines <mvines@gmail.com>

* Update docs/src/token-2022.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* More updates

Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-12-13 12:26:24 +01:00
samkim-crypto 6a8cf4f938
[docs] Add formal spec for the public-key validity proof (#3863)
* ci: Bump rust stable version for twotx build

* [docs] add public-key validity proof formal spec

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-12-02 14:23:13 +09:00
Jon Cinque fa438bbfa8
stake-pool: Add / remove validators from the reserve (#3714)
* stake-pool: Create validator stake accounts from reserve

* Update accounting to take minimum into account

* Refactor withdraw tests

* Add ability to remove validators during withdraw stake

* Add seed to validator stake account address derivation

* Update CLI with new instruction formats

* Update documentation and helper scripts for new funding

* Update Python bindings

* Try to fix flakey test

* Support token-2022

* Condense tests for CI

* Reduce huge pool limit post-rebase

* Avoid draining the whole reserve

* Restrict account extensions on allow-list

* Update comments to say "lamports"

* Fixup code comments and variable names

* Fix clippy in tests
2022-11-21 20:13:27 +01:00
IDrawCharts 1f6e9262a8
Fixed typo (#3643) 2022-09-25 10:35:20 -04:00
Jon Cinque fa534e987a
token-upgrade: Add CLI and docs (#3593)
* token-upgrade: Add CLI and docs

* Remove build.rs and build by hand

* Exclude token-upgrade-cli from cargo-build-test

* Use user-friendly token-client response printing

* Make docs consistent with implementation + other feedback

* Remove integer arithmetic

* Make required parameters `required()`
2022-09-15 20:25:40 +02:00
jon wong 504139fd0c
Update token-2022.md (#3576) 2022-09-08 12:10:07 -04:00
Jon Cinque 8ca2b8666b Add docs 2022-09-07 01:56:17 +02:00
Dana aadf29e563
docs: Use new overload of confirm tx in token-2022 extension examples (#3567) 2022-09-06 19:07:46 +02:00
Jon Cinque 592960c2de Add documentation 2022-09-01 20:12:12 +02:00
samkim-crypto 7e2a048045
fix typo (#3559) 2022-09-01 09:06:57 +09:00
Jon Cinque d611db6a01
docs: Add token-2022 extension docs and JS examples (#3457)
* token-js: Add examples for all extensions

* docs: Add token-2022 extensions guide for JS

* Address feedback

* Fix extension
2022-08-16 01:07:21 +02:00
Jon Cinque 008809e8d6 Add docs for migrating a program to two token programs 2022-08-15 23:53:26 +02:00
samkim-crypto cccce80e65
Confidential transfer zk doc (#3437)
* docs: transfer and sigma proof discussions

* docs: add sigma proof notes

* docs: add transfer with fee notes

* docs: minor wording
2022-08-11 22:53:03 +09:00
Mike MacCana 3e104df32f Rename e to tokenAccount / error as appropriate 2022-08-08 16:16:32 +02:00
Jon Cinque b096cdecc1 Address feedback 2022-08-05 20:42:41 +02:00
Jon Cinque 3b63824a60 Add doc file 2022-08-05 20:42:41 +02:00
samkim-crypto 271d2358ad
Confidential transfer encryption doc (#3399)
* doc: add discussion on twisted elgamal

* doc: add twisted elgamal latex pdf

* doc: add available and pending balance discussion

* doc: additional minor wordings
2022-08-02 11:34:54 +09:00
Jon Cinque d1e842ca3f
docs: Fix link in token-2022 (#3394) 2022-07-29 11:55:37 +02:00
samkim-crypto c40f655d93
Confidential transfer overview doc (#3393)
* doc: add confidential extension doc structure

* doc: add encryption and zkp description in confidential extension doc

* doc: add usability and crypto features
2022-07-29 08:38:24 +09:00
Jon Cinque fb46b9a115
ci: Harden docs publish to only run with a vercel token (#3389) 2022-07-27 16:57:59 +02:00
Jon Cinque 827176ed84
ci: Fixup docs CI to run build on all affecting PRs (#3388)
* ci: Fixup docs CI to run build on all affecting PRs

* Update CI env vars for GitHub Actions, remove Travis
2022-07-27 16:31:41 +02:00
Jon Cinque 8e68b6acf9
docs: Fix links (#3387) 2022-07-27 13:27:35 +02:00
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