You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const SYSTEM_PROGRAM =
"11111111111111111111111111111111" as Base58EncodedAddress;
const MEMO_PROGRAM =
"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr" as Base58EncodedAddress;
As a user that wants to send you 4 sol with a note saying 'Thanks!', I'd expect to be able to import SYSTEM_PROGRAM, MEMO_PROGRAM, COMPUTE_BUDGET_PROGRAM and similar from web3.js with the typing done for me.
Motivation
Easier to do this once in web3.js rather than have every example contain the same boilerplate
Example use case
import { SYSTEM_PROGRAM, MEMO_PROGRAM } from "@solana/web3.js";
The text was updated successfully, but these errors were encountered:
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.
Right now people have to run something like:
As a user that wants to send you 4 sol with a note saying 'Thanks!', I'd expect to be able to import
SYSTEM_PROGRAM
,MEMO_PROGRAM
,COMPUTE_BUDGET_PROGRAM
and similar from web3.js with the typing done for me.Motivation
Easier to do this once in web3.js rather than have every example contain the same boilerplate
Example use case
The text was updated successfully, but these errors were encountered: