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 questions only not deleted user 1917
4 votes
2 answers
2k views

Keypair.generate() vs creating keypair with solana-keygen?

I see two ways of generating Keypair. the easiest one is import { Keypair } from "@solana/web3.js"; const randomKey = Keypair.generate(); I see the other way which needs more work to do. first creat …
Yilmaz's user avatar
  • 1,264
1 vote
1 answer
239 views

How to get "feeCalculator` since "getRecentBlockhash()" deprecated?

This is how feeCalculator is received before: const { feeCalculator } = await connection.getRecentBlockhash(); getRecentBlockhash() is deprecated. Instead we use connection.getLatestBlockhash() I …
Yilmaz's user avatar
  • 1,264
4 votes
1 answer
984 views

How do we call solana methods if program.rpc deprecated?

I initialized a correct program const provider = getProvider(); const program = new Program(idl, programID, provider); When I called this function await program.rpc.create("name", "description", …
Yilmaz's user avatar
  • 1,264