-
Program:
```rust
use anchor_lang::prelude::*;
declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS");
#[program]
mod sysvars_test {
use super::*;
pub fn sysvars(_ctx: Context) …
-
We should use https://github.com/project-serum/anchor/issues/1260 to setup `solana-test-validator` for testing by automatically generating a bunch of accounts funded with lamports and SPL tokens--incl…
-
Hi, I Really Love This Library And I've Gone Through The Gitbook.
This Is Not An Issue With The Library, Rather A Call For Help To Get The Right Direction.
I Need To Communicate With The Serum D…
-
Hi
I want to place orders but I dont understand who are owner and payer and what I need to put in this variables.
// Placing orders
let owner = new Account('????????');
console.log(owner)
…
-
There is no Etherscan on Solana that we could use to publicly verify deployed contracts, but maybe we could add a public helper script using Anchor Verifiable Builds so users could verify themselves, …
-
I'm receiving this error when trying to execute swap through Serum.
It works for other AMMs, problem only with Serum.
```
core.esm.js?ad3d:1366 Uncaught (in promise) TypeError: Cannot read proper…
-
C:\Users\Bloctech\Documents\solana\solr-token-sale\js\node_modules\@project-serum\sol-wallet-adapter\dist\cjs\index.js:79
import EventEmitter from 'eventemitter3';
^^^^^^
SyntaxError: Cannot use …
-
Using:
```
"@project-serum/anchor": "^0.24.2",
"@solana/wallet-adapter-base": "^0.9.5",
"@solana/wallet-adapter-react": "0.15.4",
"@solana/wallet-adapter-react-ui": "^0.9.6",
…
-
As per my understanding, unsettled funds remain idle until they are reclaimed by users. They could be invested in a lending protocol to earn interest. Take a small cut and pass the profits to the user…
-
If a token account is created after the app has been loaded, the `OwnedTokenAccountsSelector` won't pickup the new account. This is because we do a fetch on initially loading the react app. Instead, w…