Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickfrosty/solana-examples-alts
https://github.com/nickfrosty/solana-examples-alts
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nickfrosty/solana-examples-alts
- Owner: nickfrosty
- Created: 2022-09-22T09:43:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T01:52:34.000Z (over 2 years ago)
- Last Synced: 2024-11-07T15:54:33.337Z (3 months ago)
- Language: JavaScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This code/repo is not production ready...
## Install
```bash
npm install
# or
yarn install
```I like and use Yarn :)
## Run the code
```bash
node app.js
```This `app.js` code should:
- a `payer` and `receiver` file system wallets
- airdrop SOL to them
- create **TWO** new SPL tokens (`tokenA` and `tokenB`), owned by `payer`
- initialize a token swap pool for the two tokens
-PS: The code will also save the certain files inside a `keys` folder that can make reusing and testing faster.