Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a07f414
chore: switch from yarn to pnpm
Oighty Jun 16, 2025
2d89315
chore: use catalog for deps and make test dependencies dev only
Oighty Jun 16, 2025
4881bf8
script: deploy and token creation scripts, initialize wip
Oighty Jun 17, 2025
d9b8eb1
script: cli and make file updates
Oighty Jun 18, 2025
de2a377
script: finish ext program deploy scripts
Oighty Jun 19, 2025
3476cbc
script: add ext-swap deploy script
Oighty Jun 19, 2025
ec2abbf
chore: update CI to use pnpm
Oighty Jun 19, 2025
4ca8ae2
script: initialize ext swap and whitelist ext for swapping
Oighty Jun 19, 2025
b142efd
chore: update Anchor.toml
Oighty Jun 19, 2025
a1c19a9
feat: add codama to generate clients for ext_swap
Oighty Jun 20, 2025
a4629d1
wip: jupiter amm interface
Oighty Jun 23, 2025
b1de51f
chore: remove unused folder
Oighty Jun 23, 2025
c0b8614
feat: implement Amm trait for jupiter integration
Oighty Jun 23, 2025
73d617d
script: add wrap authority
Oighty Jun 23, 2025
838358c
Merge branch 'main' into devnet-deploy
SC4RECOIN Jul 1, 2025
4d5ad94
improve deploy scripts
SC4RECOIN Jul 1, 2025
5acb943
support swap program
SC4RECOIN Jul 1, 2025
84d9cdc
propose upgrade
SC4RECOIN Jul 2, 2025
119696b
refactor
SC4RECOIN Jul 2, 2025
3af79d0
fix options
SC4RECOIN Jul 2, 2025
559b7a1
no mast
SC4RECOIN Jul 3, 2025
c8676bf
Merge remote-tracking branch 'origin/main' into devnet-deploy
SC4RECOIN Jul 3, 2025
06e1164
fix lock file
SC4RECOIN Jul 3, 2025
2c66740
update deploy tools
SC4RECOIN Jul 3, 2025
b4000ff
log result
SC4RECOIN Jul 7, 2025
d289218
update init ext
SC4RECOIN Jul 7, 2025
4a6a69e
correct default
SC4RECOIN Jul 7, 2025
b34143b
Merge branch 'devnet-deploy' into sdk
Oighty Jul 7, 2025
e9469c8
fix: hardcode supported mints in jup sdk
Oighty Jul 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
PAYER_KEYPAIR="op://Solana Dev/Solana Program Keys/devnet-authority"
RPC_URL="op://Solana Dev/Helius/dev rpc"
NETWORK="devnet"
EXT_MINT_KEYPAIR="op://Solana Dev/Kast Program Keys/usdk-token-mint"

# Extensions program keypairs
KAST_USDK="op://Solana Dev/Solana Program Keys/kast-usdk-devnet"
KAST_USDKY="op://Solana Dev/Solana Program Keys/kast-usdky-devnet"

# Create token mint variables
EXT_OWNER="op://Solana Dev/Kast Program Keys/devnet-authority"
EXT_FREEZE_AUTHORITY="op://Solana Dev/Kast Program Keys/devnet-authority"
EXT_NAME="Devnet USDK"
EXT_SYMBOL="USDK"
EXT_ICON_URI=
INIT_SCALED_UI=false
INIT_CONFIDENTIAL=true
INIT_TRANSFER_HOOK=true
18 changes: 18 additions & 0 deletions .env.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
PAYER_KEYPAIR="op://Solana Dev/Solana Program Keys/devnet-authority"
RPC_URL="op://Solana Dev/Helius/prod rpc"
NETWORK="mainnet"
SQUADS_MULTISIG="9QpF8a9TDM9DMiQ556bjEAyAx3WRunzW9HfiDcAPNyJW"

# Extensions program keypairs
KAST_USDK="op://Solana Dev/Solana Program Keys/program-keypair-1"
KAST_USDKY="op://Solana Dev/Solana Program Keys/program-keypair-2"

# Create token mint variables
EXT_MINT_KEYPAIR="op://Solana Dev/Kast Program Keys/usdky-token-mint"
EXT_PROGRAM_KEYPAIR="op://Solana Dev/Solana Program Keys/program-keypair-2"
EXT_NAME="Kast USDKY"
EXT_SYMBOL="USDKY"
EXT_ICON_URI="https://i.imgur.com/4VY1dQ4.png"
INIT_SCALED_UI=true
INIT_CONFIDENTIAL=true
INIT_TRANSFER_HOOK=true
2 changes: 1 addition & 1 deletion .github/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
key: node-modules-${{ inputs.node-version }}

- name: Install Node Dependencies
run: npm i -g yarn typescript tsup && yarn install
run: npm i -g pnpm typescript tsup && pnpm install
shell: bash

- name: Install Anchor CLI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/anchor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
uses: ./.github/setup

- name: Run tests
run: yarn test
run: pnpm test
shell: bash
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn
clients/ext_swap/generated
devnet-keypair.json
4 changes: 0 additions & 4 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[toolchain]
anchor_version = "0.31.1" # `anchor-cli` version to use(requires `avm`)
solana_version = "2.1.0" # Solana version to use(applies to all Solana tools)
package_manager = "yarn" # JS package manager to use

[features]
seeds = false
Expand All @@ -17,6 +16,3 @@ url = "https://api.apr.dev"
[provider]
cluster = "Localnet"
wallet = "tests/keys/user.json"

[scripts]
test = "yarn run jest --preset ts-jest tests/**/*.ts"
Loading