Issue an ASA token on Algorand testnet.
For tutorial, please see: https://developer.algorand.org/
Reply this gist with your asset ID and your mainnet wallet address.
First 20 winner will each get a 50 ALGO rewards. ✌️
| { | |
| "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1", | |
| "name": "x402 MCP Demo", | |
| "description": "The Model fee is flat. Waiting for v2's upto schema. 4o-mini is cheap enough but please go easy on it. I have no VC to back me for LLM fee.", | |
| "image": "https://teal-known-goldfish-479.mypinata.cloud/ipfs/bafybeigmzd5vjmezjp6hc6wqoue7m54qhn6ccujsdaoxp2axjm63xamrn4", | |
| "endpoints": [ | |
| { | |
| "name": "llm", | |
| "endpoint": "https://gateway.example.com/llm", | |
| "modelId": "openai/gpt-4o-mini-2024-07-18", |
| { | |
| "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1", | |
| "name": "x402 MCP Demo", | |
| "description": "The Model fee is flat. Waiting for v2's upto schema. 4o-mini is cheap enough but please go easy on it. I have no VC to back me for LLM fee.", | |
| "image": "https://example.com/placeholder.png", | |
| "endpoints": [ | |
| { | |
| "name": "llm", | |
| "endpoint": "https://gateway.example.com/llm", | |
| "modelId": "openai/gpt-4o-mini-2024-07-18", |
| { | |
| "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1", | |
| "name": "x402 MCP Demo", | |
| "description": "The Model fee is flat. Waiting for v2's upto schema. 4o-mini is cheap enough but please go easy on it. I have no VC to back me for LLM fee.", | |
| "image": "https://example.com/placeholder.png", | |
| "endpoints": [ | |
| { | |
| "name": "llm", | |
| "endpoint": "https://gateway.example.com/llm", | |
| "modelId": "openai/gpt-4o-mini-2024-07-18", |
| [General] | |
| # ShadowRocket 现已支持 DoH / DoT | |
| # 您可以根据需求自行决定选用 DNS 服务器的种类和组合方式,例如:混用服务器来实现最佳解析速度;单独 DoH 使用来达到最佳安全性和最低污染度。 | |
| dns-server = https://doh.pub/dns-query, https://dns.alidns.com/dns-query | |
| bypass-tun = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.168.0.0/16, 192.88.99.0/24, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32 | |
| skip-proxy = localhost, *.local, injections.adguard.org, local.adguard.org, captive.apple.com, guzzoni.apple.com, 0.0.0.0/8, 10.0.0.0/8, 17.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.168.0.0/16, 192.88.99.0/24, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32 | |
| bypass-system = true | |
| ipv6 = true | |
| [Rule] |
Issue an ASA token on Algorand testnet.
For tutorial, please see: https://developer.algorand.org/
Reply this gist with your asset ID and your mainnet wallet address.
First 20 winner will each get a 50 ALGO rewards. ✌️
Issue an ASA token on Algorand testnet.
For tutorial, please see: https://developer.algorand.org/
Reply this gist with your asset ID and your mainnet wallet address, the first 10 people will get a reward of 100 ALGO.
| from hashlib import sha256 | |
| # the seed here is only an example. | |
| # The seed for the lottery (of Nervos CKB Minning Competition between 6/15 and 6/28) will be the block hash of the block of height N. | |
| # Here is the sha256 hash of the sentence that contains the information of N:0x24f7501665d4f59b7f65c0853f8dd2a68fe528d345ffe63721f391eec711c190 | |
| # Update: The message is "N = 77". According to the competition result, the block hash of height 77 is 0x73ba270324ee87ed8990acbc316380c584dea21a1b8b87f4e8c363595e08225f | |
| seed = "0x73ba270324ee87ed8990acbc316380c584dea21a1b8b87f4e8c363595e08225f" | |
| # This is the number of the participants in total. | |
| # The number here should be replaced with the actual number after the competition conclude. |
| { | |
| "info": { | |
| "name": "CKB.paw", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json", | |
| "version": "v0.0.0" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Chain", | |
| "item": [ |
| # This contract needs 3 required arguments: | |
| # 0. pubkey hash, double blake2b hash of pubkey, used to shield the real | |
| # pubkey in lock script. | |
| # 1. pubkey, real pubkey used to identify token owner | |
| # 2. signature, signature used to present ownership | |
| if ARGV.length != 3 | |
| raise "Wrong number of arguments!" | |
| end | |
| def hex_to_bin(s) |