Commit Graph

1340 Commits

Author SHA1 Message Date
anatoly yakovenko 97094e61e5
Token swap (#50)
* initial

* wip

* withdraw

* wip

* wip

* updates

* fix imports

* compiles

* check delegates

* wip

* wip

* wip

* fixup

* instruction serializer

* unpack func

* done!

* update

* wip docs

* docs

* boilerplate

* docs

* fix docs

* Add token-swap test

* Add token-swap js bindings

Co-authored-by: Jack May <jack@solana.com>
2020-06-30 15:37:35 -07:00
Jack May f8f51c13fa
FFI compatible token interface (#48) 2020-06-26 15:20:03 -07:00
Jack May 63cf718122
Nit: formatting (#61) 2020-06-26 09:05:29 -07:00
Jack May c448faca38
Remove unnecessary lifetimes and use rand during test (#60) 2020-06-25 21:42:40 -07:00
Jack May 10aed8d76e
Remove strict from mergify rebase rule (#59) 2020-06-24 15:36:13 -07:00
Jack May 921f88f582
Install bpf-sdk if none exists (#58) 2020-06-24 15:05:22 -07:00
Jack May af8b4b17e6
Cleanup .js naming (#57) 2020-06-24 13:58:56 -07:00
Jack May 7e78cf6c1a
Update README.md 2020-06-24 10:56:25 -07:00
Jack May fef20764e8
Fix SetOwner documentation (#55) 2020-06-24 10:16:21 -07:00
Jack May 0ce6ef2200
Turn on automerge with mergify (#56) 2020-06-24 10:15:58 -07:00
Jack May e181b975c6
Fix serialization (#54) 2020-06-23 16:35:29 -07:00
Jack May 87331fd926
Add instruction helpers (#52) 2020-06-23 09:16:58 -07:00
Jack May 437d2d1c8b
Bump to Solana v1.2.3 and Solana-web3.js v0.60.0 (#46) 2020-06-18 11:02:42 -07:00
Jack May 077a425b70
No account required is initial supply is zero (#44) 2020-06-18 11:02:06 -07:00
Tyera Eulberg b581366047
Memo: add Rust program id and bump version (#41)
* Add rust program id to memo

* Bump memo and sdk versions

* Use declare_id macro

* Bump solana version to pick up macro docs
2020-06-18 10:51:22 -06:00
Jack May ef8570b20c
Fix usage (#45) 2020-06-17 16:13:48 -07:00
Tyera Eulberg 4a140464a2
Remove bpf-sdk handling from token package.json (#43) 2020-06-17 16:59:32 -06:00
Jack May 0d99dcb39c
Update contributors (#42) 2020-06-17 14:12:46 -07:00
Jack May 9214d08be6
Add rustdocs (#39) 2020-06-17 11:25:19 -07:00
Jack May f571493404
Make do.sh more generic (#37) 2020-06-16 21:29:21 -07:00
Jack May d4ad04b31f
Add vscode to .gitignore (#38) 2020-06-16 20:26:23 -07:00
Tyera Eulberg ff8b5ac158
Add utf8 memo program (#27)
* Initial memo commit

* Add program id

* Update CI

* Remove unneeded dependencies

* Try instead of map

* clippy --tests
2020-06-05 20:13:15 -06:00
dependabot-preview[bot] 3cf8c8bb39
Bump webpack from 4.42.1 to 4.43.0 in /token (#9)
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 16:12:01 -06:00
dependabot-preview[bot] 625b50a454
Bump moment from 2.24.0 to 2.26.0 in /token (#10)
Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.26.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 16:11:38 -06:00
dependabot-preview[bot] 1fa0fb7fd7
Bump bn.js from 5.1.1 to 5.1.2 in /token (#12)
Bumps [bn.js](https://github.com/indutny/bn.js) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.1...v5.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 16:11:13 -06:00
dependabot-preview[bot] 7854f2dbca
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4 in /token (#23)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 15:28:31 -06:00
Tyera Eulberg dfbfc9367b
Reorganize repository in preparation for more programs (#20)
* Initial reorg

* Update READMEs

* Update CI

* Add CI build stages
2020-06-05 12:34:17 -06:00
Jack May 299025b479
Improve docs and naming (#22) 2020-06-05 10:15:14 -07:00
Jack May d04c034209
Add incinerator (#15) 2020-06-05 08:38:48 -07:00
Michael Vines 833845e0a2
Update error.rs 2020-06-04 22:51:51 -07:00
Jack May 19e40bfd18
Add MintTo instruction (#19) 2020-06-04 22:47:17 -07:00
Jack May 0c3842a078
Update to Solana-sdk 1.2.0 (#17) 2020-06-03 10:28:14 -07:00
Jack May c4d8902ce3
Update token module filename (#14) 2020-06-02 15:20:39 -07:00
Greg Fitzgerald 19e249bd94
Add reference to Sealevel (#8) 2020-05-31 09:52:00 -06:00
dependabot-preview[bot] 3a5a7b7297
Bump semver from 7.1.3 to 7.3.2 in /token (#3)
Bumps [semver](https://github.com/npm/node-semver) from 7.1.3 to 7.3.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.1.3...v7.3.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 14:43:49 -06:00
Greg Fitzgerald 6744ab2187
npm audit fix (#6) 2020-05-30 14:43:35 -06:00
dependabot-preview[bot] 842fd45c86
Bump eslint-plugin-react from 7.19.0 to 7.20.0 in /token (#4)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 10:17:15 -06:00
Jack May 8248ccb793
fix ci (#5)
* fix ci

* nudge
2020-05-29 16:03:59 -07:00
Jack May 539fdfca78
First cut of token program (#1) 2020-05-29 15:00:47 -07:00
Greg Fitzgerald 8d09e0b66b Initial commit 2020-05-29 13:41:23 -06:00