Skip to content

Instantly share code, notes, and snippets.

View getopia's full-sized avatar

Ghenadie Calcaura getopia

  • DFINITY
  • Zurich
View GitHub Profile
@getopia
getopia / gist:10576acef3cc36fcdfc3848075520e7d
Last active September 18, 2025 15:10
Stripe: checkout workflow - connected accounts
title Stripe Checkout flow
participant "Caffeine project settings"
participant "Frontend (UI)"
participant "Backend"
participant "Stripe API"
participant "Stripe Form"
note left of "Caffeine project settings": - Stripe Public key\n- Stripe Secret k\n- Stripe Account ID
@getopia
getopia / gvernance-canister-snapshot.json
Created March 25, 2025 12:30
Governance registry content: `dre registry`
This file has been truncated, but you can view the full file.
{
"subnets": [
{
"subnet_id": "2fq7c-slacv-26cgz-vzbx2-2jrcs-5edph-i5s2j-tck77-c3rlz-iobzx-mqe",
"membership": [
"2grd6-wl4h5-ckvc2-agagg-kn5it-axvmv-4nogx-frgyx-5ulsj-kuoyo-lae",
"6wnv3-oxkmg-rtcgq-slqsn-5xlwu-7a27t-524pa-st7b3-epsck-tixsa-uqe",
"aqbno-vejst-3kuee-ksrrr-bo5p3-6nhht-z2coe-dg6he-ptywi-pzubm-bqe",
"asad5-qg3gv-p5hrf-7liwa-zkoia-t2imf-sztmb-okb3k-gc6ei-xzp77-5qe",
"buqsd-72zlu-hbgr2-hzjnr-mgvyj-6ldtg-2hdsd-igtpb-q7p2l-4j43v-5ae",
@getopia
getopia / utopia-config-elements.md
Last active February 10, 2025 13:44
Utopia config elements

Node info

These files are generated by ic-prep and copied to each respective node machine.

tree ~/.utopia/instances/utopia-preview_22qlqxvgd9u-ghenadie-calcaura/run/out/node-0/
/Users/ghenadie.calcaura/.utopia/instances/utopia-preview_22qlqxvgd9u-ghenadie-calcaura/run/out/node-0/
├── committee_signing_key
├── crypto
│   ├── public_keys.pb
│   └── sks_data.pb
├── derived_node_id
@getopia
getopia / utopia-topology.json
Last active April 30, 2025 07:00
Utopia preview topology `ic-admin --nns-urls https://preview.utopia.computer get-topology`
{
"subnets": {
"nikzk-2ljfl-a6mqe-wubmg-74tvj-sry5m-bor4k-zqd4q-v3yrq-jeflu-3ae": {
"membership": [
"qolvi-n5iif-hqtts-vow7h-ulncv-tenmy-i4wbn-cuuil-egvfp-j3lgl-3qe",
"oa7z3-7xprt-d3w2r-43qww-mauau-qieu6-e3fxx-l6e3r-fnkfj-owsox-aqe",
"eyo7n-opdqe-5bwmr-5kaj2-yn46d-kjukj-om4a4-4dwne-ycal3-ecoma-zae",
"sh2qg-3744r-wbknu-3ejja-n3rzg-fnboi-zzzle-5bgrb-2mu3i-o6m7a-lqe"
],
"nodes": {
@getopia
getopia / utopia-registry.json
Created September 10, 2024 07:53
ic-regedit canister-snapshot --url http://localhost:8050
{
"__version": 1,
"blessed_replica_versions": {
"blessed_version_ids": [
"b9a0f18dd5d6019e3241f205de797bca0d9cc3f8"
]
},
"catch_up_package_contents_hdk52-3xqtm-dnij4-75l6p-q37ch-32bkz-epecp-fgd5l-tsuht-wmzso-bae": {
"ecdsa_initializations": "(binary-data)",
"height": 0,
@getopia
getopia / ic-admin-get-topology.json
Last active September 9, 2024 08:14
ic-admin --nns-urls https://ic0.app get-topology
{
"subnets": {
"tdb26-jop6k-aogll-7ltgs-eruif-6kk7m-qpktf-gdiqx-mxtrf-vb5e6-eqe": {
"membership": [
"tgbmf-2jayg-jhoty-cgdle-jezqv-vxaly-pom4f-vnhzr-jvxdd-3yoyo-zqe",
"67m4d-5jvep-mnm7z-fjsm7-7aec4-bycrw-dntq6-v4ahv-4mele-yljgc-tae",
"dndht-2fce7-aze7e-coa4j-yvyuw-ut4hw-gn5dj-xvxox-whdhg-txikb-yae",
"bv2x3-p2b3h-b23rg-aoq3s-kdzo2-pipmf-5y2me-jfa4w-tb7vr-qistz-2ae",
"jyh32-azcnn-mwosu-urewl-m3pyx-6pmlq-lu5fu-vqjyl-gwx3j-zqrjr-gae",
"isegs-i4akf-kb7st-hnqjn-4col7-qxpph-pncbs-25hiy-5pwsu-nyw3x-xae",