Comments (11)
i dont know how to call my function exactly, such as i want to call function Add(uint, uint) from my program ?
Are you using anchor?
Can you explain how can I do the same with anchor?
Found anchor-go
from solana-go.
i dont know how to call my function exactly, such as i want to call function Add(uint, uint) from my program ?
Are you using anchor?
Can you explain how can I do the same with anchor?
Found anchor-go
Yep! That's the way
from solana-go.
Solana programs (a.k.a. "smart contracts") can be called via transactions; each transaction contains one or more instructions (which are the parameters of the smart contract call).
An example: https://github.com/gagliardetto/solana-go#transfer-sol-from-one-wallet-to-another-wallet
from solana-go.
How do I call the Hello World function in rust from go-client? https://github.com/solana-labs/example-helloworld
from solana-go.
The transaction information needs to be assembled and sent after signature
An example: https://github.com/gagliardetto/solana-go#transfer-sol-from-one-wallet-to-another-wallet
How do I call the Hello World function in rust from go-client? https://github.com/solana-labs/example-helloworld
from solana-go.
i dont know how to call my function exactly, such as i want to call function Add(uint, uint) from my program ?
from solana-go.
i dont know how to call my function exactly, such as i want to call function Add(uint, uint) from my program ?
Are you using anchor?
from solana-go.
from solana-go.
solana-go
is not equipped to function with solang or solidity contracts deployed on Solana.
From the https://github.com/hyperledger-labs/solang docs, I see there's some abstraction and ABI. There's currently no support for that in solana-go, nor plans to implement it in the future.
If you figure out how the encoding is done, you could write a library.
from solana-go.
i dont know how to call my function exactly, such as i want to call function Add(uint, uint) from my program ?
Are you using anchor?
Can you explain how can I do the same with anchor?
from solana-go.
Can Solana-go support call the smart contract program developed by Anchor now? Such as call one function?
from solana-go.
Related Issues (20)
- panic: runtime error: makeslice: len out of range HOT 6
- unable to decode instruction: no known type for type [12 0 225 245 0 0 0 0] HOT 3
- Pls help me, how to get token metadata? HOT 1
- UiTokenAmount data type HOT 1
- "AccountSubscribe method is invalid" HOT 5
- Priority Fee during this congested period. HOT 4
- Create associated token account idempotent instruction
- BlockSubscribe no data output. HOT 1
- Transaction failed to sanitize accounts offsets correctly HOT 2
- Send SPL Token using this Library HOT 2
- do you suport Raydium dex interface?
- how to get token owner of a token account HOT 4
- panic while decoding Instruction in spl transfer transaction HOT 3
- ws blocksubscribe - does extract rewords
- How to parse Program data from log?
- Versioned transaction HOT 3
- send transaction success,but can not locate transaction on blockchain HOT 3
- How to make transaction extra fees use NewTransaction() on transaction.go files ?
- How can we obtain the real token receiving address?
- Create tx with LUT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solana-go.