Skip to content

Instantly share code, notes, and snippets.

View aguycalled's full-sized avatar

alex v. aguycalled

  • Berlin, Deutschland
View GitHub Profile
@aguycalled
aguycalled / contracts...1_Storage.sol
Created August 27, 2021 20:57
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
pragma solidity ^0.6.0;
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./access/AccessControlUpgradeable.sol";
import "./utils/ContextUpgradeable.sol";
import "./token/ERC20/ERC20Upgradeable.sol";
import "./token/ERC20/ERC20BurnableUpgradeable.sol";
@aguycalled
aguycalled / coldstaking_electrum_navcash.md
Last active April 2, 2021 09:37
Setting up a cold staking + electrum node for NavCash

NavCash

NavCash is a light wallet for NavCoin. Its main features are Ledger and Cold Staking support and that it does not need to keep a full copy of the blockchain in order to operate. Instead, it relies on electrum servers to subscribe to notifications related to the wallet. Additional features like Community Fund voting will be added once the new DAO functionality is activated.

In this guide I will explain how to set up cold staking with NavCash using your own node. If you already have your full node and do not wish to use you own electrumx server, you can directly jump to the last point.

Building navcoin-core

We will start with a fresh Ubuntu 20.04 system. First step is to connect through SSH or open a terminal if we have local access to create a new user and install the system dependencies.

@aguycalled
aguycalled / devnet-stresser-staking.sh
Last active December 7, 2019 23:45
NavCoin devnet stresser using staking
#!/bin/bash
### Need to configure this!!
### Path to binaries
navpath=/Users/alex/navcoin-core/src
### How many voting cycles to run the stresser
cycles=20

Keybase proof

I hereby claim:

  • I am aguycalled on github.
  • I am aguycalled (https://keybase.io/aguycalled) on keybase.
  • I have a public key ASDYu2dhKDm8AuWWfutKgww8WmR-8ecUyrFif7D_ELxGdQo

To claim this, I am signing this object: