How to interact on the test network OP_NET Blockchain?

OP_NET: The Bitcoin-Aligned Smart Contract Metaprotocol

npccrypto
2 min readAug 18, 2024

OP_NET is a Bitcoin Layer 1 Smart Contract Metaprotocol that powers DeFi, tokens, NFTs, DAOs, and beyond. Uniquely, it runs entirely on native $BTC.

X Account : https://x.com/opnetbtc
📚 Docs : https://docs.opnet.org/
🚰Faucet: https://faucet.opnet.org/
🔄️Dex : https://motoswap.org/
🔎Blockscanner : https://opscan.org/

✨ Creating Wallet
1. Download File: https://github.com/btc-vision/opwallet/releases/tag/v1.0.3 (extract if downloaded)
2. Open extension settings and enable developer mode
3. Import the extension using the extracted file
4 Create a new wallet (backup seedphrase)
5. Network settings to Regtest
6. copy address and claim faucet

Network Interaction
1. Open the wallet, click import token
2. Enter the address bcrt1qzxp2ah763tsklw6vj2qazllp7yzt7lautzcppj
3. Click on the name of the token that has been imported then mint it in the amount up to you
4. Set transaction fee settings to fast, and check RBF
5. repeat.

✨Deploy tokens
1. Create an empty repository on github
2. Open the codespace from the repository that has been created
3. Follow the commands below 👇

A. install node.js and npm
sudo apt-get update
sudo apt-get install -y nodejs npm

B. Clone Repository
git clone https://github.com/btc-vision/OP_20.git
C. go to directory op_20
cd OP_20
D. look for the file in op_20 with the name MyToken.ts
E. open and edit manually on line 15 (token name, symbol, supply amount)
F. close and save edits
G. install dependencies
npm install
H. Build Contract
npm run build
I. wait for the build process to run
A. Look for a file in the op_net folder with the name Mytoken.wasm
K. download the .wasm file
L. Open the op_net wallet, click deploy and enter the downloaded file
M. import sc deploy to wallet and mint supply as in the network interaction step

✨Dex Interaction
1. Wrapping BTC: https://docs.opnet.org/tutorials/wrapping-bitcoin
2. Go to https://motoswap.org/
3. Do a swap from wbtc to token
4. Create a pool

I say running this testnet process provides potential because it is a new development model for the Bitcoin network

written by : NPCKRIPTO

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

npccrypto
npccrypto

Written by npccrypto

Blockchain enthusiast and tech writer Skilled in navigating testnets, passionate about exploring and sharing the latest advancements in the blockchain space.

No responses yet

Write a response