Skip to content

Instantly share code, notes, and snippets.

@salanfe
salanfe / main.go
Last active April 6, 2020 07:11
kraken_rate_limit_test
package main
import (
"log"
"os"
"os/signal"
"syscall"
"time"
krakenapi "github.com/beldur/kraken-go-api-client"
@salanfe
salanfe / AdditionContract.sol
Last active July 9, 2022 22:07
Ethereum: python for sending raw JSON-RPC HTTP requests to deploy and interact with a smart contract
pragma solidity ^0.4.18;
contract AdditionContract {
uint public state = 0;
function add(uint value1, uint value2) public {
state = value1 + value2;
}
function getState() public constant returns (uint) {