sidebar_position |
---|
1 |
SimApp
is a CLI application built using the Cosmos SDK for testing and educational purposes.
package precompile | |
import ( | |
"errors" | |
"github.com/ava-labs/avalanchego/utils/crypto/bls" | |
) | |
// BLSSignatureVerify is the precompiled contract for BLS signature verification | |
type BLSSignatureVerify struct{} |
# Move CLI build artifacts | |
/build/ | |
/storage/ | |
/.move/ | |
/move.lock | |
# Temporary files | |
*.tmp | |
*.swp | |
*.swo |
package main | |
import ( | |
"context" | |
"crypto/ecdsa" | |
"errors" | |
"fmt" | |
"github.com/ethereum/go-ethereum" | |
"github.com/ethereum/go-ethereum/accounts/abi/bind" | |
"github.com/ethereum/go-ethereum/core/types" |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"math/big" | |
"strings" | |
"time" |
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"golang.org/x/oauth2" | |
"io" | |
"net/http" | |
) |
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/github" | |
"io" | |
"net/http" |
import schedule | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
import time | |
import random # Import the random module | |
def setup_tor_profile(): | |
"""Sets up a Firefox profile for Tor.""" | |
profile = webdriver.FirefoxProfile() |
# Build stage | |
FROM golang:1.20-alpine AS build | |
# Set the working directory inside the container | |
WORKDIR /app | |
# Copy the Go application source code into the container | |
COPY . . | |
# Build the Go application |
package main | |
import ( | |
"fmt" | |
"gorm.io/driver/postgres" | |
"gorm.io/gorm" | |
"gorm.io/gorm/schema" | |
"log" | |
"time" | |
) |