Skip to content

Instantly share code, notes, and snippets.

View gabsn's full-sized avatar
🇫🇷

Gabin Marignier gabsn

🇫🇷
View GitHub Profile
@rcotrina94
rcotrina94 / How to use Images as Radio buttons.md
Last active October 18, 2024 16:03
How to use images for radio buttons (input-radio).
import React, { Component } from 'react';
import {
Text,
View,
TouchableOpacity,
ActivityIndicator,
Navigator
} from 'react-native';
import {GoogleSignin} from 'react-native-google-signin';
import Firestack from 'react-native-firestack'
%builtins output
from starkware.cairo.common.serialize import serialize_word
from starkware.cairo.common.alloc import alloc
func print_words{output_ptr : felt*}(res_len : felt, res : felt*):
if res_len == 0:
return ()
end

Starknet Cheatsheet

Create devnet account

export STARKNET_WALLET=starkware.starknet.wallets.open_zeppelin.OpenZeppelinAccount
starknet --gateway_url http://127.0.0.1:5050 new_account --account toto
starknet --gateway_url http://127.0.0.1:5050 deploy_account --account toto

Debug failing transaction