Skip to content

Instantly share code, notes, and snippets.

cast send  --rpc-url https://rpc.thaichain.org  0x01969Df440F8Cb345d7952E30D8609813455Ffb6 "approve(address,uint256)" 0x
A5e6C28945bA54ea9d7F33454314aC895F06F8e1 10000000000000000000 --private-key $PRIVATE_KEY

cast send  --rpc-url https://rpc.thaichain.org   0xA5e6C28945bA54ea9d7F33454314aC895F06F8e1 "depositERC20Transaction(add
ress,uint256,uint256,uint64,bool,bytes)" 0x506ECB4c214c7EB712dc709CC4789dfA58CF513f 10000000000000000000 10000000000000000000 100000 false 0x00 --private-ke
y $PRIVATE_KEY

cast balance --ether  --rpc-url http://188.245.189.230:9545  0x506ECB4c214c7EB712dc709CC4789dfA58CF513f
@dome
dome / genesis.json
Created October 11, 2024 10:15
TBSI Devnet
{
"config": {
"chainId": 1708,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,

BTR Token Whitepaper


Introduction

BTR Token is designed to be a versatile utility token that powers both BTR Exchange and the underlying blockchain known as BTR Chain. It serves as the main currency for transactions within the exchange and as the gas fee for transactions on the blockchain. As the demand for efficient, secure, and cost-effective solutions grows, BTR aims to create an inclusive ecosystem to support both traders and developers.


@dome
dome / nft.json
Last active September 3, 2024 05:41
{
"description": "Friendly OpenSea Creature that enjoys long swims in the ocean.",
"image": "https://apricot-eldest-beetle-43.mypinata.cloud/ipfs/QmNQJrmPtmG1AZ5ZSyRtgfXbJi7mySriNCv9UPU8E9w3Y4",
"name": "Dave Starbelly",
"attributes": [
{
"trait_type": "Base",
"value": "Starfish"
},
{
L1 JIBCHAIN
custom gas token: 0x55555550150b9E225F9775D903875049355E3168
OptimismPortal 0xd5b32d0387998556e112177026499f1e17b5818f
L2
L2OutputOracle 0x03Bd3A8d635aEB8F1Ced778637e7F7547596D9C4
@dome
dome / nginx.conf
Created August 23, 2024 05:20
nginx proxy evm rpc
user nginx;
worker_processes auto;
error_log /dev/stderr warn;
pid /var/run/nginx.pid;
worker_rlimit_nofile 100000;
events {
worker_connections 102400;
#-- nginx.conf:
events {
worker_connections 10240;
}
http {
lua_socket_log_errors off; #-- don't clutter the error log when upstream severs fail
lua_shared_dict hosts 10m;
1. jbc > pom
{
"AddressManager": "0x86aF2AD7056F94cACCb2750552C6E614a374497D",
"AnchorStateRegistry": "0xc15f8C609C02c8C9F6a48ed1c8D981C4ED48CaB8",
"AnchorStateRegistryProxy": "0xa0AECE477C4de036b0a5752851bc183397E98809",
"DataAvailabilityChallenge": "0x527D4662F5b3aE5D30cf93c4754aEB4378d9cB09",
"DataAvailabilityChallengeProxy": "0x7223cE0dc6443BaC5d672d05aC75277578981945",
"DelayedWETH": "0x1C6d3CD19531d9c3bcdB14B0bD52a70Fe6557e8E",
"DelayedWETHProxy": "0xF8E47A5717940E0edb171E52D770C0f1A492A362",
"DisputeGameFactory": "0xAf0Cf06657a4B26c3879defc4A627BdE9f98953f",
backend | {"time":"2024-06-21T09:23:32.238Z","severity":"error","message":"** (FunctionClauseError) no function clause matching in EthereumJSONRPC.Transaction.do_elixir_to_params/1\n (ethereum_jsonrpc 6.6.0) lib/ethereum_jsonrpc/transaction.ex:257: EthereumJSONRPC.Transaction.do_elixir_to_params(%{nil => nil, \"blockHash\" => \"0x81470042a6186721aa78e2ac0d4d48d6c1d970af851e5d6155d2f90d08934691\", \"blockNumber\" => 384583, \"block_timestamp\" => ~U[2024-06-20 08:00:25Z], \"chainId\" => 7003, \"from\" => \"0x506ecb4c214c7eb712dc709cc4789dfa58cf513f\", \"gas\" => 1002901, \"gasPrice\" => 250, \"hash\" => \"0x426f2548f399ac932566f02def5b04495b627157b1e40530104ba246f54fffc7\", \"input\" => \"0x608060405234801561001057600080fd5b5073506ecb4c214c7eb712dc709cc4789dfa58cf513f6040518060400160405280600b81526020016a29a2a729a2902a37b5b2b760a91b8152506040518060400160405280600381526020016229a2a760e91b81525081600390816100759190610399565b5060046100828282610399565b50506005805460ff19169055506001600160a01b0381166100
Args: [#Function<0.13489359/1 in Indexer.Block.Fetcher.Receipts.fetch/2>, [[%{block_hash: \"0x500eaf5b510c9cbf75e6deeddccb9ecaf34431ef011bb8e11fb864cf60850a55\", block_number: 73533, block_timestamp: ~U[2024-06-20 04:36:29Z], from_address_hash: \"0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001\", gas: 1000000, gas_price: 0, hash: \"0x15a9cb4eb225fe0f9a6274539c456498776fafbc5c85d5972abe1ce6138b3950\", index: 0, input: \"0x440a5e2000000558000c5fc50000000000000002000000006673b17300000000003554ea000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000010578da312fa6da39c17c6abfcf91d3da64b157229c1132adc53e577e1279c1d5000000000000000000000000e991f6cb28d0b281784bf8b5a7a582f2840149e5\", nonce: 0, r: 0, s: 0, to_address_hash: \"0x4200000000000000000000000000000000000015\", transaction_index: 0, type: 126, v: 0, value: 0}, %{block_hash: \"0x8e3a5186249cce1f2822963df49896e6505d2e2350cd71dbe6c8ba72a0a610b7\", block_number: 73534, block_timestamp: ~U[2024-06-