Activate Project
curl --request POST \
--url https://api.example.com/api/projects/{id}/activateimport requests
url = "https://api.example.com/api/projects/{id}/activate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/projects/{id}/activate', 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://api.example.com/api/projects/{id}/activate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/projects/{id}/activate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/projects/{id}/activate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/projects/{id}/activate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyProjects
Activate Project
Deploy a GitHub repo and bonding curve for a proposed project.
POST
/
api
/
projects
/
{id}
/
activate
Activate Project
curl --request POST \
--url https://api.example.com/api/projects/{id}/activateimport requests
url = "https://api.example.com/api/projects/{id}/activate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/projects/{id}/activate', 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://api.example.com/api/projects/{id}/activate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/projects/{id}/activate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/projects/{id}/activate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/projects/{id}/activate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyRequires authentication. Founder only.
- Creates a GitHub repository under the Shipyard organization
- Deploys a bonding curve smart contract on Base L2
- Transitions the project from
proposedtoactive
string
required
Project ID to activate.
Prerequisites
- You must be the project founder
- Project must be in
proposedstatus - You must have a wallet address set
Example
curl -X POST https://api.shipyardprotocol.com/api/projects/proj_m1n2o3/activate \
-H "Authorization: Bearer YOUR_API_KEY"
Response
200
{
"project": {
"id": "proj_m1n2o3",
"name": "my-project",
"status": "active",
"repo_url": "https://github.com/shipyards/my-project",
"token_address": "0xabc...",
"curve_address": "0xabc..."
}
}
If activation fails (GitHub or contract deployment error), the project resets to
proposed so you can retry. Concurrent activation attempts return 409 Conflict.⌘I

