Skip to content

Instantly share code, notes, and snippets.

View doncesarts's full-sized avatar

doncesarts doncesarts

View GitHub Profile
@doncesarts
doncesarts / StipendModule.sol
Created March 14, 2026 06:59
Gnosis Safe Module minimal Example
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import { Enum } from "@safe-global/safe-smart-account/contracts/interfaces/Enum.sol";
import {
IModuleManager
} from "@safe-global/safe-smart-account/contracts/interfaces/IModuleManager.sol";
/**
* @title StipendModule
* @notice Minimal example module for periodic token transfers via Safe wallet.
@doncesarts
doncesarts / smart-contract-unittest-stub.md
Last active April 1, 2022 20:12
Solidity Visual Developer - Custom Unittest Stub

About Testing

Testing helps to ensure that all code meets acceptance criteria and quality standards before the smart contract is deployed. Due to the immutability of smart contracts it is important to make sure a high code coverage is met, as well as testing all diferente edge scenarios. Nevertheless writing unit test can be time consuming, different developers might have different styles of testing. So I gave to myself the task to find a way to improve this process.

Solidity Visual Developer - VS Code extension

This extension contributes security centric syntax and semantic highlighting, a detailed class outline, specialized views, advanced Solidity code insights and augmentation to Visual Studio Code. It can be downloaded here

@doncesarts
doncesarts / README.md
Created April 25, 2018 11:54 — forked from vasturiano/.blocks.json
VR Force-Directed Graph

Virtual reality representation of a force-directed iterative layout, using 3d-force-graph-vr. This component uses A-Frame for VR rendering and either d3-force-3d or ngraph for the layout physics engine.

Cycle through various topological data sets using the button on the top-right. Click the icon on the bottom-right to enter VR mode.

Simulate flying-style movement through the layout using a gamepad controller or the arrow/wasd keys on a physical keyboard.

See also the WebGL version.