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: Setup UI #45

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

Feat: Setup UI #45

wants to merge 18 commits into from

Conversation

FaisalAl-Tameemi
Copy link
Owner

@FaisalAl-Tameemi FaisalAl-Tameemi commented Jun 16, 2023

Resolves #44


Work in progres...

  • Typegen on contracts
  • Typescript tests setup with swanky-cli
  • UI components to connect to a wallet
  • UI components to interact with Ink! contracts

@FaisalAl-Tameemi
Copy link
Owner Author

Added a bunch of stuff related to running e2e tests via Swanky CLI.

The summary is that once you've done yarn install, you can build contracts with Swanky CLI:

swanky contract compile public_good --release

And then run the associated e2e Typescript tests:

swanky contract test public_good

@FaisalAl-Tameemi
Copy link
Owner Author

Compiling the contracts with Swanky CLI also adds Type generation for TS automatically via Typechain.

@FaisalAl-Tameemi
Copy link
Owner Author

Added useink library to connect to a wallet + added chakra-ui for React UI components.

@FaisalAl-Tameemi
Copy link
Owner Author

FaisalAl-Tameemi commented Jul 4, 2023

Screenshot 2023-07-02 at 11 57 05 PM

@a-moreira
Copy link
Contributor

just need to add the artifacts and other build files to .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add initial version of UI (able to play all current games via wallet)
2 participants