curl --request POST \
--url https://purps.lol/api/v2/pons/launches/prepare \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"symbol": "<string>",
"pairToken": "<string>",
"creatorWallet": "<string>",
"devBuy": "<string>",
"creatorTaxBps": 123
}
'import requests
url = "https://purps.lol/api/v2/pons/launches/prepare"
payload = {
"name": "<string>",
"symbol": "<string>",
"pairToken": "<string>",
"creatorWallet": "<string>",
"devBuy": "<string>",
"creatorTaxBps": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
symbol: '<string>',
pairToken: '<string>',
creatorWallet: '<string>',
devBuy: '<string>',
creatorTaxBps: 123
})
};
fetch('https://purps.lol/api/v2/pons/launches/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://purps.lol/api/v2/pons/launches/prepare",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'symbol' => '<string>',
'pairToken' => '<string>',
'creatorWallet' => '<string>',
'devBuy' => '<string>',
'creatorTaxBps' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://purps.lol/api/v2/pons/launches/prepare"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://purps.lol/api/v2/pons/launches/prepare")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v2/pons/launches/prepare")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"ts": 123,
"message": "<string>",
"expiresInSeconds": 123,
"hash": "<string>",
"configHash": "<string>"
}
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}Prepare a Pons launch
Step 1: the message to sign with your EVM wallet (personal_sign, EIP-191). Pons is the one launchpad that still signs a message before the build, because launching there is invite-only and the signature is how the invite is checked before anything is spent. The message carries a launches: line that spells the launch out in words: name, ticker, pair, creator tax and first buy. Send devBuy and creatorTaxBps here too when you will send them to submit; they are part of those words.
curl --request POST \
--url https://purps.lol/api/v2/pons/launches/prepare \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"symbol": "<string>",
"pairToken": "<string>",
"creatorWallet": "<string>",
"devBuy": "<string>",
"creatorTaxBps": 123
}
'import requests
url = "https://purps.lol/api/v2/pons/launches/prepare"
payload = {
"name": "<string>",
"symbol": "<string>",
"pairToken": "<string>",
"creatorWallet": "<string>",
"devBuy": "<string>",
"creatorTaxBps": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
symbol: '<string>',
pairToken: '<string>',
creatorWallet: '<string>',
devBuy: '<string>',
creatorTaxBps: 123
})
};
fetch('https://purps.lol/api/v2/pons/launches/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://purps.lol/api/v2/pons/launches/prepare",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'symbol' => '<string>',
'pairToken' => '<string>',
'creatorWallet' => '<string>',
'devBuy' => '<string>',
'creatorTaxBps' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://purps.lol/api/v2/pons/launches/prepare"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://purps.lol/api/v2/pons/launches/prepare")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v2/pons/launches/prepare")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"symbol\": \"<string>\",\n \"pairToken\": \"<string>\",\n \"creatorWallet\": \"<string>\",\n \"devBuy\": \"<string>\",\n \"creatorTaxBps\": 123\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"ts": 123,
"message": "<string>",
"expiresInSeconds": 123,
"hash": "<string>",
"configHash": "<string>"
}
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}Body
1 to 32 characters.
1 to 10 characters.
A pair from /pairs pons. Omit or the zero address for ETH.
The EVM wallet that signs and sends.
Your own first buy, in ETH, as a decimal string. Part of the signed words when sent, so send the same value to submit.
A creator tax on every trade, basis points, up to 2000. Default 0. Part of the signed words when sent, so send the same value to submit.