-
I've recently been frustrated by Motoko's inability to do raw calls as seen in the cycle wallet(https://github.com/dfinity/cycles-wallet/blob/5725370020593bd744ddbc589c117d76d6ca8ae4/wallet/src/lib.rs…
-
### Motoko Version
Motoko 0.6.21 (source wahvzdqw-grg3wqkh-0n8s7fj6-f4rxx0rh)
### Repro Steps
1. Copy & paste the problematic code snippet into `chain.mo`
2. Try to run the code with `moc -r --p…
wewei updated
2 years ago
-
Hi, I'm trying to get boa to work on the Internet Computer (IC): https://smartcontracts.org/docs/introduction/welcome.html
The IC uses wasmtime, and whenever I try to deploy a local Wasm module to …
-
Doing an ill-typed upgrade can cause stable data loss.
The problem is the recent change to candid to support defaulting of optional fields.
Motoko encodes stable variables in a record of options…
-
**Story**
As a developer, I want to be able to explicitly import unqualified types and functions from other modules.
**Motivation**
Currently we can only import modules as a whole with a qual…
-
**Is your feature request related to a problem? Please describe.**
The following variant declaration
```ts
type abc = { #a; #b; #c };
```
has this runtime representation:
```ts
export type ab…
-
It might be better to simply build up the Rust or Motoko code manually, even with just string manipulations. It shouldn't be all that complicated, and then that generated code could...well, wait...I g…
-
From the JIRA ticket:
> Things to consider:
- simple syntax or full Motoko repl?
- IDL resolution to know if a call is a query or an update
- utility functions?
- debugging features?
Comment…
ghost updated
3 years ago
-
**Is your feature request related to a problem? Please describe.**
I want to write an actor/service like this in Motoko, with a corresponding Candid service type:
```
actor MapThing {
put : …
-
At the moment there is only `dfx build --skip-frontend`. But when I do that, I find both the main canister and the assets canster are build. I need a way to only build the main canister, and a way onl…