Skip to content

Instantly share code, notes, and snippets.

View legaciespanda's full-sized avatar
🏠
Working from home

Ernest Obot legaciespanda

🏠
Working from home
View GitHub Profile
@legaciespanda
legaciespanda / onion-address-gen.go
Created July 5, 2024 18:32 — forked from nektro/onion-address-gen.go
Golang Vanity v3 Onion Address Generator
package main
import (
"crypto"
"crypto/ed25519"
"encoding/base32"
"encoding/base64"
"encoding/hex"
"flag"
"fmt"
@legaciespanda
legaciespanda / PaymentSplitter.sol
Created June 23, 2022 08:43 — forked from Chmarusso/PaymentSplitter.sol
This smart contract will automatically divide the payment amount and push it to specified recipients.
pragma solidity ^0.8.15;
// SPDX-License-Identifier: MIT
contract PaymentSplitter {
address payable [] public recipients;
event TransferReceived(address _from, uint _amount);
constructor(address payable [] memory _addrs) {
for(uint i=0; i<_addrs.length; i++){
recipients.push(_addrs[i]);