Conversation
the next portion would be to use actual codes
…with 0 balances attempting to make the transaction
|
sample display over at |
Previously the enoki implementation only did sponsored transaction. But now it has google zklogin as well, which eliminates wallet extension popup if connected with zklogin.
There was a problem hiding this comment.
Great job Rapha,
just some small things to change:
Package managers
- Stick with one package manager and remove the **.lock** for the other
Folder organization
Let's organize it this way:
- contracts/
- - move/
- - - your_module_name/...
- frontend/
- - ...all the frontend here
So the root of this Module will just have frontend and contracts as top level folders
Move Package Management
First of all update your sui cli.
The new Package Management requires a Move.toml of a different format, basically you'll remove:
- addresses
- dev-addresses
- dev-dependencies
And replace move version:
from: 2024.beta
to: 2024
After finishing, make sure to run:
sui move build
and/or
sui move test
Since if you're on devnet, the compiler will throw an error and ask you to put another entry in the Move.toml named "environments", and the respective values/properties to put in it;
There was a problem hiding this comment.
Great job @raphaelchiaml , just few considerations:
-
I got that we use "use server" for serverfiles but could we separate those files from UI?
From a react developer perspective and folder structure perspective it does not ideal. If it's a common practice in Nextjs then please ignore this. -
EDIT: skip this
-
We need to update the SDK to the latest, which will use gRPC; feel free to reach out to me for a quick onboarding on it if necessary so you can migrate it quickly
No description provided.