Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/support_solana_chain #10

Open
wants to merge 16 commits into
base: feat/support-solana
Choose a base branch
from

Conversation

sushitato
Copy link

No description provided.

projectUserPointPda: PublicKey;
projectUserPointBump: number;
};
export class YoubetSolanaProgramLib {
Copy link
Collaborator

@jerikchan jerikchan Oct 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can not find 'createGoal', 'createGoalSolo', 'claimStake', 'stakeAndUnlockGoal' these methods

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goal 相关的 微扰 说先不用做,claimStake 已经有了claimReward,我改一下名字

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claimStake 也是 goal 相关的,没有做

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave an empty method inherited from an abstract class based on the

return walletData.completedTasks;
}

async donateToProject(projectId: string, amount: string): Promise<void> {
Copy link
Collaborator

@jerikchan jerikchan Oct 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there more descriptions of what these newly added methods do?

@jerikchan
Copy link
Collaborator

jerikchan commented Oct 6, 2024

image

Provider this piece can be considered also abstracted, according to different parameters with even different wallets

@sushitato sushitato force-pushed the feat/support-solana branch from 085853a to b3fe338 Compare October 6, 2024 10:37
@jerikchan
Copy link
Collaborator

image

try donateToProject method, but failed.

@wfnuser wfnuser force-pushed the feat/support-solana branch from 1fb4074 to 40e6cba Compare October 7, 2024 03:38
@sushitato sushitato force-pushed the feat/support-solana branch from 20d12cd to 8c9e78f Compare October 7, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants