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

Website stuff #19

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
7aa5846
Milestone 1: Executing Miden Client in Browser via WASM
Feb 12, 2024
78cf322
Merge remote-tracking branch 'upstream/main'
Feb 12, 2024
b4a2070
Merge remote-tracking branch 'upstream/main'
Feb 21, 2024
a8809d8
Syncing with main
Mar 5, 2024
2f593db
Merge remote-tracking branch 'upstream/main'
Mar 19, 2024
217f4f5
Setting up web store and web rpc infrastructure. Porting new_account.
Mar 9, 2024
749a746
Add testing website (#2)
JohnDonavon Mar 26, 2024
7b3889a
Added dexie to wasm folder
dagarcia7 Mar 29, 2024
b0cc0a6
Added rest of accounts methods (#4)
dagarcia7 Apr 3, 2024
38bd4ae
Merge remote-tracking branch 'upstream/main'
Apr 3, 2024
50dc015
Cleaned up some code and commented out anything with references to na…
dagarcia7 Apr 3, 2024
147fb51
Finished adding skeleton code for notes (#6)
dagarcia7 Apr 7, 2024
bf23dbc
Finished adding skeleton code for transactions (#7)
dagarcia7 Apr 11, 2024
e0d6556
Finished adding skeleton code for sync (#8)
dagarcia7 Apr 16, 2024
fa1bfaa
Merge remote-tracking branch 'upstream/main'
Apr 16, 2024
71bcf91
Finished Adding Skeleton Code for Chain Data (#9)
dagarcia7 Apr 17, 2024
7e6e02b
Website updates
JohnDonavon Apr 19, 2024
bed6cde
Accounts Working With Native Code (#10)
dagarcia7 Apr 19, 2024
3a2cf8c
Notes Code With Native Code Untested (#11)
dagarcia7 Apr 23, 2024
7bac3dc
RPC Calls Working with Tonic Web WASM Client and Envoy (#12)
dagarcia7 Apr 30, 2024
0e0bb9a
Added Native Code for Transactions, Sync, and Chain Data (#13)
dagarcia7 May 2, 2024
722ca07
Accounts Fully Working + Basic Sync Working (#14)
dagarcia7 May 6, 2024
a40071a
Miden-Client Transaction Example Working on Browser (#15)
dagarcia7 May 10, 2024
6c334f7
Added Integration Tests to test.html File to Test Different Code Path…
dagarcia7 May 15, 2024
9c3891e
Create Web Client Now Takes Node Url as Config (#17)
dagarcia7 May 15, 2024
3471569
Import/Export Code Integration Tests (#18)
dagarcia7 May 16, 2024
e0513c5
Miden-Client 0.3.0 Update
May 31, 2024
2eac715
Debugging
Jun 3, 2024
a12c6f2
Working until transaction authenticator gets called
Jun 4, 2024
5cf3326
Make transaction authenticator sync
evanmarshall Jun 4, 2024
6a09a93
Integration testing almost done
Jun 12, 2024
0c8a017
Testing import/export. Still not working
Jun 13, 2024
73a50d2
cargo changes
JohnDonavon Jun 13, 2024
69ca188
miden website 0.3
JohnDonavon Jun 13, 2024
d687026
didn't save lol
JohnDonavon Jun 13, 2024
b2a5fdd
Working account creation and getting
JohnDonavon Jun 13, 2024
baf8aae
wasm README and website changes
JohnDonavon Jun 18, 2024
6c0b946
More readme stuff
JohnDonavon Jun 18, 2024
f5b03a4
Completed account and faucet page
JohnDonavon Jun 20, 2024
1ef289d
Add notes page
JohnDonavon Jun 20, 2024
9d5f7cd
account -> wallet rename
JohnDonavon Jun 21, 2024
e5c330f
Mint done
JohnDonavon Jul 1, 2024
36532a3
Other transaction examples
JohnDonavon Jul 2, 2024
fc2bc1d
Show wallet info
JohnDonavon Jul 4, 2024
66e4291
get rest of changes
JohnDonavon Jul 4, 2024
5d93985
cleanup
JohnDonavon Jul 9, 2024
e3678c6
fix consume send bug
JohnDonavon Jul 10, 2024
8921417
add polling
JohnDonavon Jul 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Working until transaction authenticator gets called
  • Loading branch information
Dennis Garcia committed Jun 4, 2024
commit a12c6f2667a5b4c2cae532b189781a562d868f4d
14 changes: 10 additions & 4 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -21,10 +21,10 @@ base64 = "0.13"
futures = "0.3"
getrandom = { version = "0.2", features = ["js"] }
hex = { version = "0.4" }
miden-client = { path = "../../demox-miden-client-next", version = "0.3.0", default-features = false, features = ["wasm"] }
miden-lib = { version = "0.3", default-features = false }
miden-tx = { version = "0.3", default-features = false }
miden-objects = { version = "0.3", default-features = false, features = ["serde"] }
miden-client = { path = "../../demox-miden-client-next", default-features = false, features = ["wasm"] }
miden-lib = { path = "../../miden-base/miden-lib", default-features = false }
miden-tx = { path = "../../miden-base/miden-tx", default-features = false }
miden-objects = { path = "../../miden-base/objects", default-features = false, features = ["serde"] }
prost = { version = "0.12.3" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
@@ -37,3 +37,9 @@ web-sys = { version = "0.3", features = ["console"] }

[build-dependencies]
tonic-build = { version="0.11.0", default-features = false, features = ["prost"]}

[profile.release]
# Use dev settings for release
opt-level = 0
debug = true
rpath = false
3 changes: 2 additions & 1 deletion wasm/rollup.config.js
Original file line number Diff line number Diff line change
@@ -15,10 +15,11 @@ export default [
},
plugins: [
rust({
debug: true,
cargoArgs: [
// This enables multi-threading
// "--features", "testing", // Add this line to include the concurrent feature
"--config", `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296"]`,
"--config", `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296", "-C", "debuginfo=2"]`,
"--no-default-features",
"-Z", "build-std=panic_abort,std",
],
2 changes: 1 addition & 1 deletion wasm/test.html
Original file line number Diff line number Diff line change
@@ -778,7 +778,7 @@
// await testCreateNewFaucet();
// await testGetAccounts(false);
// await testGetAccount(false, "0x8add712899d6ab76");
await testNewMintTransaction(false, "0x8add712899d6ab76", "0x248226f3436b0068");
await testNewMintTransaction(false, "0x8add712899d6ab76", "0x20421649f243d662");
// await testNewConsumeTransaction();
// await testNewSendTransaction();
// await testNewSendTransactionWithRecallHeight();