Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
1
answer
211
views
Where do arbitrum gas fees go?
Similar question to here except, based on the arbitrum docs:
⚠️ Note: There is no protocol level incentive to run an Arbitum full node. … I know the sequencer gets paid some amount of the fee, but I thought the Arbitrum full node got paid a little as well? Does 100% of the gas fees go to the sequencer? …
0
votes
1
answer
30
views
Add a key, value pair to a sol mapping in stylus?
In my stylus contract, I have the following sol_storage:
sol_storage! {
#[entrypoint]
pub struct SimpleStorage {
mapping(string => string) name_to_favorite_number;
}
}
And, I have …
2
votes
0
answers
29
views
How to run a script in a stylus project
I have a smart contract written with the stylus SDK, and I have a rust script that I've written to interact with it. My file structure looks as such:
.
├── Cargo.lock
├── Cargo.toml
├── Makefile
├── s …
3
votes
0
answers
28
views
Run a local stylus node?
Is there a anvil equivalence for stylus?
ie: I want to test my stylus smart contracts against a local stylus node, how would I do that?
2
votes
2
answers
360
views
Why do I use extern crate for alloc instead of `use std::alloc`?
I'm making a simple storage contract in stylus, but I'm confused as to why I can't import alloc like I can other imports.
I have two kinds of imports
// the extern
extern crate alloc;
// The classic …
4
votes
1
answer
1k
views
Does arbitrum / optimism / other L2s have MEV?
But for example, could I run an Arbitrum node and MEV some transactions before passing them to the sequencer? …
1
vote
1
answer
127
views
How to verify a stylus smart contract?
Implements a hello-world example for Arbitrum Stylus, providing a Solidity ABI-equivalent
//! Rust implementation of the Counter contract example provided by Foundry.
//! …