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 a 'Tuffle Box'-like box for a basic Aztec dapp #1056

Closed
iAmMichaelConnor opened this issue Jul 13, 2023 · 1 comment · Fixed by #2029
Closed

Create a 'Tuffle Box'-like box for a basic Aztec dapp #1056

iAmMichaelConnor opened this issue Jul 13, 2023 · 1 comment · Fixed by #2029
Assignees
Labels
A-ux/devex Area: relates to external ux / devex. (Users typically are devs) (See also A-internal-devex) T-feature-request Type: Adding a brand new feature (not to be confused with improving an existing feature).

Comments

@iAmMichaelConnor
Copy link
Contributor

Truffle boxes used to be lovely for onboarding devs.
Download a box, unbox it, and wahey! You've got yourself a bare minimum dapp which can deploy a contract to a local instance of the network and call its functions. Here's an NFT example.

Unboxed, it looks like this:

image

We should create something similar.

All in all, it contains:

  • Pretty front end (not sure if we'd bother with this, though?)
  • Example contract
  • Example code to deploy the contract and await a response
  • Example code to call view functions of the contract and await a response
  • Example code to execute functions of the contract and await a response
  • Example tests
  • A config file for connecting the app to a default localhost instance of the network

It's missing a readme, and the setup instructions could be shorter, but you get the idea.

Questions:

  • Who'd like to build a box?
  • In which repo should boxes be hosted?
  • Any ideas which use case(s) we should provide boxes for?
@iAmMichaelConnor iAmMichaelConnor added the T-feature-request Type: Adding a brand new feature (not to be confused with improving an existing feature). label Jul 13, 2023
@github-project-automation github-project-automation bot moved this to Todo in A3 Jul 13, 2023
@iAmMichaelConnor iAmMichaelConnor added the A-ux/devex Area: relates to external ux / devex. (Users typically are devs) (See also A-internal-devex) label Aug 1, 2023
@dbanks12
Copy link
Contributor

dbanks12 commented Aug 8, 2023

@PhilWindle mentioned:

Today, when you curl app website it gives you script that calls dockercompose for sandbox.
Could modify or extend that so that when you curl a different URL it gives you a "Truffle-Box"-style thing instead.

@dan-aztec dan-aztec linked a pull request Aug 26, 2023 that will close this issue
2 tasks
@iAmMichaelConnor iAmMichaelConnor modified the milestones: 🚀 Initial F&F Sandbox Release, 📢 Initial Public Sandbox Release Aug 30, 2023
@dan-aztec dan-aztec linked a pull request Sep 8, 2023 that will close this issue
3 tasks
@github-project-automation github-project-automation bot moved this from Todo to Done in A3 Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ux/devex Area: relates to external ux / devex. (Users typically are devs) (See also A-internal-devex) T-feature-request Type: Adding a brand new feature (not to be confused with improving an existing feature).
Projects
Archived in project
4 participants