Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 42
2 votes

How do I deploy a program to a vanity address?

Figured it out. You just have to copy your grinded .json key into ./target/deploy/MY_PROGRAM-keypair.json
joebuild's user avatar
  • 455
4 votes
2 answers
443 views

How do I deploy a program to a vanity address?

It's unclear to me what the flow here should be. Typically I've done a test deploy locally, found the program_id that it was deployed to, and then copied that into the appropriate places. I'm using An …
joebuild's user avatar
  • 455
1 vote

Delay when trying to make a swap transaction on Raydium

You probably have a reasonable/tight slippage and it’s a popular market, so by the time your swap transaction lands it is a different price. So you could increase your slippage tolerance. You can also …
joebuild's user avatar
  • 455
3 votes
2 answers
128 views

Is it possible to deploy a program from a key in a ledger?

If it's not possible (or not practical), what are best practices for deployment security? I think that deployment via another program (such as Realms) is probably not practical for most folks.
joebuild's user avatar
  • 455
0 votes
1 answer
51 views

How do I throw an error if there are other instructions in a transaction?

I'm using anchor, and would like a handler call to error if there are other instructions within the same transaction. How can I accomplish this? The use-case here is a liquidation call in a perp marke …
joebuild's user avatar
  • 455