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

Create Frontend Template App #80

Merged
merged 47 commits into from
Oct 25, 2024

Conversation

Pessina
Copy link
Contributor

@Pessina Pessina commented Oct 17, 2024

https://www.loom.com/share/6deaa4f45f4e4d3f9f1c65f51b0fff87?sid=8e599b32-b1b1-4c78-ade0-9d033f42a8b8

This PR includes a Abstract Money template app with the following functionalities:

  • Use Graz to manage to wallet connection
  • Use useCreateAccountMonarchy to create an account
  • Use Abstract Money Subgraph GraphQL API
  • Use codegen with an example of contract call usage

@Pessina Pessina requested a review from adairrr October 17, 2024 14:43
frontend/README.md Outdated Show resolved Hide resolved
frontend/README.md Outdated Show resolved Hide resolved
frontend/README.md Outdated Show resolved Hide resolved
frontend/README.md Outdated Show resolved Hide resolved
frontend/README.md Outdated Show resolved Hide resolved
frontend/README.md Show resolved Hide resolved
frontend/README.md Show resolved Hide resolved
frontend/app/_components/query-abstract-subgraph.tsx Outdated Show resolved Hide resolved
frontend/app/_components/wallet-connection.tsx Outdated Show resolved Hide resolved
Pessina and others added 5 commits October 18, 2024 13:36
Co-authored-by: Interchain Adair <[email protected]>
Co-authored-by: Interchain Adair <[email protected]>
Co-authored-by: Interchain Adair <[email protected]>
Co-authored-by: Interchain Adair <[email protected]>
Co-authored-by: Interchain Adair <[email protected]>
@Pessina Pessina requested a review from adairrr October 18, 2024 07:46
frontend/README.md Outdated Show resolved Hide resolved
Comment on lines 41 to 44
1. Clone the repository:
```
git clone [email protected]:AbstractSDK/templates.git
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
1. Clone the repository:
```
git clone [email protected]:AbstractSDK/templates.git
```
1. Generate the template:

cargo generate --git https://github.com/AbstractSDK/templates.git --name

plugins: [
react(),
vanilla({
enableAppstractAppFor: ['board']
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
enableAppstractAppFor: ['board']
enableAppstractAppFor: ['{{app_name | snake_case}}']

path: "../contracts/{{app_name | snake_case}}/schema/",
namespace: "{{project-name | kebab_case}}",
version: "0.1.0",
moduleType: "adapter",
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's assume that most modules will be apps

Suggested change
moduleType: "adapter",
moduleType: "app",

@adairrr adairrr merged commit 6a2a194 into main Oct 25, 2024
4 checks passed
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.

3 participants