Skip to content

Commit

Permalink
feat: created tiplink for Sol and spl tokens (#64)
Browse files Browse the repository at this point in the history
# Pull Request Description
Agent can now create links with sol and spl tokens

## Related Issue
Fixes #21

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- Added support for tiplinks for SOL 
- Also supports spl tokens

## Transaction executed by agent 
<!-- If applicable, provide example usage, transactions, or screenshots
-->
Example transaction: 
![Screenshot 2024-12-26
115547](https://github.com/user-attachments/assets/29bc9110-57e8-4458-a563-dc8ccc6823be)
![Screenshot 2024-12-26
115606](https://github.com/user-attachments/assets/8789a346-5993-4277-9dc9-79271c400402)


## Prompt Used
<!-- If relevant, include the prompt or configuration used -->
```create me a tiplink for 0.001 sol```


## Checklist
- [x] I have tested these changes locally
- [ ] I have updated the documentation
- [x] I have added a transaction link
- [x] I have added the prompt used to test it
  • Loading branch information
thearyanag authored Dec 27, 2024
2 parents e1f7c53 + 5ab8724 commit 929fc9d
Show file tree
Hide file tree
Showing 6 changed files with 382 additions and 7 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@raydium-io/raydium-sdk-v2": "0.1.95-alpha",
"@solana/spl-token": "^0.4.9",
"@solana/web3.js": "^1.95.4",
"@tiplink/api": "^0.3.1",
"bn.js": "^5.2.1",
"bs58": "^6.0.0",
"chai": "^5.1.2",
Expand All @@ -56,13 +57,13 @@
"@types/bn.js": "^5.1.5",
"@types/chai": "^5.0.1",
"@types/node": "^22.9.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"prettier": "^3.2.5"
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
}
}
Loading

0 comments on commit 929fc9d

Please sign in to comment.