Skip to main content

Questions tagged [program]

The tag has no usage guidance.

2 votes
1 answer
253 views

Which program is this: 4MNPdKu9wFMvEeZBMt3Eipfs5ovVWTJb31pEXDJAAxX5?

I was trying to transfer a token from Wallet 1 -> Wallet 2 using sollet.io on testnet. It showed this error: failed to send transaction: Transaction simulation failed: Attempt to load a program ...
itsfarseen's user avatar
-1 votes
4 answers
116 views

Is there anything that prevents popular programs from being cloned hundreds of times by copycats?

There is a substantial precedent for various marketplaces getting trashed by copycats who reproduce original works hundreds of times in order to capture the lion share of the benefit by diluting out ...
OCDev's user avatar
  • 762
8 votes
2 answers
749 views

How do I create an NFT using Anchor?

What is the simplest way to create an NFT using Anchor, without using the candy machine. The goal is to be able to mint a token and corresponding metadata. Ideally with a single instruction.
zfedoran's user avatar
  • 761
7 votes
2 answers
336 views

What is the use for `program_id` in program's entrypoint

All Solana programs receive its own program_id as a parameter. But I don't see how this is useful, as you can use declare_id to declare it in case you need it. I've also seen that if you get your ...
RowanStone's user avatar
5 votes
1 answer
684 views

Create Token Account only if not Initialized yet in program (Native Rust)

Doing this in Typescript is pretty straightforward by making an RPC call or getOrCreateAssociatedAccount, but I am wondering if there is a way to do this program side as well without using Anchor. For ...
ixmorrow's user avatar
  • 101
3 votes
2 answers
935 views

How do I interact with closed-source Solana programs with no public IDL?

How do I interact with a program that has no open source and no Anchor program IDL. I need to get types, accounts and instructions for this program: https://solscan.io/account/...
FDFD FDFD's user avatar
3 votes
1 answer
151 views

Resources for building/launching a Solana Oracle

I'm looking for any demos, tutorials, or open-source code for building and connecting to a Solana-based Oracle. Would appreciate anyone pointing me in the right direction!
firstwonk's user avatar
0 votes
2 answers
91 views

Are all programs plainly visible within the blockchain? [closed]

Are all programs displayed in plain text? If so, is there a way to obfuscate them so that others are not able to see the contents of the program?
OCDev's user avatar
  • 762
0 votes
1 answer
60 views

Which is correct token program address

I'm from ETH coming to SOL. But I noticed in this article, the smart contract address (token program address) is this way - https://nimb.ws/sIxWM7 But here the address starts with the word "Token&...
ratib90486's user avatar
-1 votes
1 answer
52 views

What are ways to protect a novel program solution in order to protect the IP investment of development effort? [closed]

If a team of developers invest a lot of time to build a unique solution to solve a problem, what ways can investors in their efforts protect the effective IP of that work?
OCDev's user avatar
  • 762
-1 votes
1 answer
77 views

Is there a way to obfuscate programs so that other developers cannot reproduce my business without doing the hard work? [closed]

Are all programs plainly visible within the blockchain? Is there a way to prevent that when writing your program to protect the investment of development effort? If not, what would keep a popular ...
OCDev's user avatar
  • 762