This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
LABEL org.opencontainers.image.authors="p.tisserand@gmail.com" | |
ARG USER=rob | |
ARG USER_ID=1000 | |
ARG GROUP=starknet | |
ARG GROUP_ID=1000 | |
# Create new user | |
RUN \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:starknet/starknet.dart'; | |
import 'erc.sierra.g.dart'; | |
void main() async { | |
Felt contractAddress = Felt.fromHexString( | |
"0x53813135446812b36f67e5b363813df086d88544ce17c742376082b8e997e29"); | |
final account = account0; | |
final erc20 = Erc(account: account, address: contractAddress); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "splitter" | |
version = "0.1.0" | |
[dependencies] | |
starknet = ">=2.0.1" | |
[[target.starknet-contract]] | |
sierra = true | |
casm = true |
OlderNewer